Progress
Language Reference
EXTENT Function
Returns the size of a named array field or variable. The function returns 0 if the field is not an array field. This is a pseudo-function; it compiles to a constant.
SYNTAX
array
Any array field or variable.
EXAMPLEIn the following example, the EXTENT function is used to set the limit of a DO loop that cycles through all elements of an array.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |