This is a simplified version of the the piece of code I was debugging, to show the effect.
Code: Select all
100 DIM a(5)
110 one
1000 DEFine PROCedure one
1010 LOCal x
1020 x=2
1030 a(x)=100
1040 PRINT a
1045 PRINT
1050 a(x)=two
1060 PRINT a
1070 END DEFine one
1080 DEFine FuNction two
1090 x=x+1
1100 RETurn 200
1110 END DEFine two
In QDOS this happens, but in SMSQ/E, element 3 gets set to 200
I can program around the problem. But is this a bug in QDOS that got fixed in SMSQ/E, or is it a bug in SMSQ/E?