LENGTH - Get length of a multi-elements identifier

Language reference ›› Built-in functions ›› Miscellaneous ››
Parent Previous Next


Returns the number of elements of any constant, type or variable of type ARRAY,  STRING or enumerated.

For  a STRING-typed identifier the actual length of the string is returned.

This is not the total number of bytes (see SIZEOF) nor always the index of the last element (see HIGH).