Filepro-list Digest, Vol 90, Issue 6
Boaz Bezborodko
boaz at mirrotek.com
Thu Jul 7 14:04:01 PDT 2011
>> ::dim arr03(6)106 ; cu="1":
> [...]
>> loop3:::
>> :arr03(cu) eq "":goto finish:
>> :cu eq "1":f=f& nl& 89& "~":
>> :cu le "6":f=f& arr03(cu)& "~" ; cu=cu+"1" ; goto loop3:
> What happens when that line is executed when cu contains "6"?
>
> [...]
>> Ken, would you elaborate on what the error message is saying, ie: what is
>> the (6) and Index:7 all represents?
> "dim arr03(6)" is just that -- you dimensioned arr03 to be 6 elements long.
> The "index:7" means you tried to access the array with a subscript of 7.
>
> [...]
If the array element is only processed if 'cu' is less than or equal to
"6", then how does it see the array element of "7"?
More information about the Filepro-list
mailing list