Simulating TABLE


Senior Member
I was using the simulator to troubleshoot a 20X2 program that uses TABLE data. Everything worked as expected in the simulator but not in hardware. Eventually I found the problem - a #no_table directive at the head of the program.

Apparently the simulator ignores the #no_table directive. I think this is a flaw in the simulator or is it a useful feature?



Senior Member
There was probably a lack of foreseeing that someone would use #NO_TABLE while actually using TABLE, though it is likely a result of #NO_TABLE affecting what is downloaded rather than what is compiled, and it is what gets compiled which gets simulated

Though the 'obvious solution' would seem to be to generate an error if TABLE or related commands were used along with #NO_TABLE I recall there were some circumstances identified where that would be undesirable.

I will raise it as an issue.