[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_AEMAXLEN()
Find longest element within an array
------------------------------------------------------------------------------
Syntax
FT_AEMAXLEN( <aArray> [, <nDimension> [, <nStart> [, <nCount> ] ] ] ) ;
-> nMaxlen
Arguments
<aArray> is the array containing the elements to be measured.
<nDimension> is the array dimension to be measured,
defaults to first dimension.
<nStart> is the starting array element to include,
defaults to first array element.
<nCount> is the number of array elements to process from
from <nStart>, defaults to remaining elements
in array.
Returns
The length of the longest size element of an array.
Description
This function will measure each element of an array
dimension and return the longest element.
Examples
FT_AEMAXLEN(aArray) // Measure the 1st dimension of an Array
FT_AEMAXLEN(aArray,2) // Measure the 2nd dimension of an Array
FT_AEMAXLEN(aArray,2,,9) // Measure Elements 1-9 of the
2nd dimension or subarray
FT_AEMAXLEN(aArray,3,5,9) // Measure Elements 5-9 of the
3rd dimension or subarray
FT_AEMAXLEN(aArray,3,5) // Measure Elements 5 to last in the
3rd dimension or subarray
Source: AEMAXLEN.PRG
Author: Ralph Oliver, TRANSCOM SYSTEMS
See Also:
FT_AEMINLEN()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson