Array question

Jay R. Ashworth jra at baylink.com
Wed May 26 10:19:34 PDT 2004


On Wed, Mar 24, 2004 at 09:41:49AM -0600, Terry Slater wrote:
> Is it possible to have a multi-dimensional array in filePro? For example,
> DIM ARRAY["3","100"] meaning define an array that is 3 elements wide and 100
> elements deep. I could not find an example of this structure in the help
> files, so I wanted to ask the list.

Not directly, so far as I know.

If you define the maximum M and N, though, you can do things like

M*Nmax + N

as your indices, and get roughly the same results.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

        "They had engineers in my day, too."  -- Perry Vance Nelson


More information about the Filepro-list mailing list