mikekann at yahoo.com
Sun Jan 10 12:15:39 CST 2010
It looks like the "extents" function only works for one dimension of an array
put uno_uno into a
put uno_dos into a
put dos_uno into a
put dos_dos into a
put the extents of a into fld 1
fld 1 will have 1,2 -- just one line
-- according to the dictionary we should get 2 lines, one for each dimension
Use the extents function to find the minimum and maximum row and column numbers of an array whose keys are integers.
The array is any array of any dimension whose keys are numbers.
The extents function returns one line for each dimension of the array.
Each line contains two numbers separated by commas. The first item is the lowest key number in that dimension, and the second item is the highest key number.
If any of the keys of the array is non-numeric, the extents function returns empty.
--- On Sun, 1/10/10, Roger Guay <irog at mac.com> wrote:
> From: Roger Guay <irog at mac.com>
> Subject: Re: Simple Arrays
> To: use-revolution at lists.runrev.com
> Date: Sunday, January 10, 2010, 11:43 AM
> I very much appreciate this
> discussion about arrays and I too have learned a lot. Any
> chance someone has done a tutorial?
> Thanks and cheers,
> Roger Guay
> On Jan 10, 2010, at 10:05 AM, use-revolution-request at lists.runrev.com
> > Re: Simple Arrays
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
More information about the use-livecode