Array question

Jay R. Ashworth jra at baylink.com
Wed May 26 10:18:15 PDT 2004


On Wed, Mar 24, 2004 at 11:22:16AM -0500, Jeff Harrison wrote:
> deep="100"
> dim array[300]
> 
> Now say you want element 3,50 of your "two" dimensional array:
> X=3
> Y=50
> 
> array(X*deep-deep+Y)

Of course; apologies; I got this worng.  In the terms of my other post:

( (M-1) * Nmax ) + N

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