Error getting tags :
error 404Error getting tags :
error 404 extents | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
extents
Basics
Expander triangle
Type
Function
Syntax
the extents of array extents(array)
Introduced
1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns a list of the smallest and largest keys for each dimension of an array.
Examples

the extents of myArray
put item 1 of line 2 of the extents of theFigures into columnsMinimum

Additional Comments
Expander triangle

Use the extents function to find the minimum and maximum row and column numbers of an array whose keys are integers.

Parameters:

The array is any array of any dimension whose keys are numbers.

Value:

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.

Comments:

If any of the keys of the array is non-numeric, the extents function returns empty.

User Comments
Expander triangle