Posted: 06:25pm 26 Sep 2011 |
Copy link to clipboard |
 Print this post |
|
I have been trying to print the values of an array and keep on getting an error.
running this code:
10 OPTION base 1
20 DIM DRO[4]
30 dro[1]=1
31 dro[2]=2
32 dro[3]=3
33 dro[4]=4
40 PRINT dro[1];
gave the result:
4
Error line 40: Invalid syntax
so it print 4 (not 1) and then the error. Just wondering what I am doing wrong? or is this a bug.
|