Hi Umpal, The variable names table size is restricted to a maximum of 32k by the method AMOS uses to tokenise 'names'. A 'name' is any variable, label or procedure in your program - they all go in the same table. When your program references any name, it is tokenised as a 16 bit offset (1 word) into the names table, plus some flags and the name itself in lowercase padded to a word boundary if needed. Although the pointer is 16 bit, the top bit is used to indicate whether it's a local or global name. Leaving 15 bits for the offset, hence a maximum 32k size for the table. We can't increase that without radically changing the way AMOS works - tokenising, verifying, etc.
If you've run into problems with the table size, the only realistic solution is to cut down the length of your names. Plan it out and use global search and replace.
Bear in mind that all names are padded to word sizes. So 'X1' takes the same space as 'X', etc. Also, if you're using a lot of local variables, consider using some globals instead as locals are unique within each procedure and increase the table size accordingly.
Sorry we can't do anything about it, but that's AMOS. You must have a huge program to hit that limit 😉.
Sent from my Lumia 640 using Tapatalk