Array question
Aldridge, Inc.
toma at aldridgeinc.com
Tue Mar 9 13:53:16 PST 2010
So, I do this kind of thing rather often:
dim scremp(7)(26,uplow):ga
pshift:
::lookup scremps k=ka i=A -nx:
loop6:not scremps:return:
:scremps(1) ne 1:return:
:zz ge "5":return:
::scremp(zz)=number{"." <scremps(6) <scremps(5):
::zz=zz+"1"; number=number+"1"; getnext scremps; goto loop6:
::end:
But in the present case, I want to fill 24 dummy fields, say aa-ax with
the contents of 24 sequential fields in a lookup file beginning with
field 50 there.
In help, I see this:
"DIM array(n):lookup(m)
Example: DIM place(2):CLIENTS(3) 'A 2 field array
taken from a lookup named CLIENTS starting
at its field 3."
Is that a good way to accomplish this? If yes, but where in this example
would I tell the local array to begin, i.e. aa?
I'm missing some level of understanding here and would appreciate some
insights or suggestions. Thanks
Tom Aldridge
More information about the Filepro-list
mailing list