Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 18/06/2005 @ 20:49 by aldweb
visitor |
Hello Netzley,
So, let me try to explain better than I succeeded to do in the user manual (By the way, did you read the appendix which explains the memory structure of iziBasic? There are very useful informations there about arrays).
There are only 2 arrays in iziBasic: A() and A$(). Both address the complete data memory storage. A(1) to A(26) are for the A to Z storage (same thing with A$() of course). iziBasic then does a DIM A(26) by default unless you override it with a higher value. So, your own array storage may start at A(27). Knowing this, your sample source code would be:
DIM A(66) ' that is 26 for A-Z + 40 free ' spaces above
BEGIN FOR N=0 TO 39 I=N+27 A(I)=N NEXT
FOR N=0 TO 39 I=N+27 A=A(I) A=A+5 A(I)=A NEXT Cheers,
@+ aldweb
|