Need Help to resolve "Array out of range"
parksonchew: I don't have this error previously but suddenly this "Array out of range" appear when I tried to execute the EA. Somehow, it's not giving any error during compiling in MetaEditor so far.
- It didn't suddenly appear, either you previously had it and didn't notice, or changed something that caused it.
- Array out of range has nothing to do with compile errors. It's a run time error.
- How can we possibly help when you don't show all the relevant code? Your a loops on the array Pairs, but you also use it to index into ADR which you don't show. You also index into Pairs using ThisSymbolIndex which you also don't show.
- Add print statements and track it down. At least size of Pairs, size of ADR, value of ThisSymbolIndex.
I don't have this error previously but suddenly this "Array out of range" appear when I tried to execute the EA. Somehow, it's not giving any error during compiling in MetaEditor so far.
Thanks.