syntax for using a variable in an array
Kenneth Brody
kenbrody at spamcop.net
Wed Jul 31 08:06:36 PDT 2013
On 7/31/2013 10:12 AM, tob at b-e-s-t.com wrote:
> I want to loop through an invoice file and find invoice numbers that have been used and thus invoice numbers that have not been used.
> The prc below will do it but i do not have the syntax for using a variable in an array correct.
> Thanks
>
> ::dim ni(100000)(8,.0):
[...]
> ::ni(iv)="1": LINE THAT ERRORS
[...]
The syntax of the "line that errors" is ambiguous, as it could be an attempt
to define the dummy field "ni".
Change the array name to at least 3 letters.
--
Kenneth Brody
More information about the Filepro-list
mailing list