variables in an array

Scott Nelson scott at logicdatasystems.com
Tue Apr 30 08:25:02 PDT 2013


Welcome to the list.

You are looping through your adz array correctly.  You do not need to 
dim ct since it is your counter, just 'ct(3,.0)' will do.  Is ADY a file 
handle or another array?




On 4/30/2013 9:58 AM, tob at b-e-s-t.com wrote:
> Is there a way to loop through an array using variables?
> or at least a way around it other than doing writes to another file?
>   
> dim adz(100)(5,*)
> dim ct(3,.0)="0"
> loop1:ct=ct+"1"
> :ct GE "100":return
> :adz(ct)=ady("1"):adz(ct)="Y"
> goto loop1
>   
> I am new to this group and I apologize if this has been recently been discussed.  But I don't see where fp will allow a variable in an array?
> Thanks
> tob at b-e-s-t.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130430/0d67f50c/attachment.html
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>




More information about the Filepro-list mailing list