Aliased arrays (Was Re: Is there anyway...)
Kenneth Brody
kenbrody at bestweb.net
Wed Jul 21 07:26:44 PDT 2004
John Hemmer wrote:
[...]
> > Then: DIM Ary[NUMFIELDS]:1
> > Then: Ary[F]=V
[...]
> What I did not realize is the Full Power of the filepro DIM statement.
> Though I have used it a lot, I was under the impresession that one
> had to explicitly define the field lenght and edit type of each field
> aliased.
[...]
When aliasing the array to fields, each entry in the array will take on
the characteristics of the aliased fields. In fact, in the above example,
array[n] actually _is_ field n, and not just an identical copy.
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list