TEXT.getLength

Returns the length of TEXT content.

Syntax

getLength( )
   RETURNS INTEGER

Usage

This method returns the number of bytes in TEXT data.

This method always returns a number of bytes, even when using character length semantics.

Example

MAIN
  DEFINE t TEXT
  LOCATE t IN MEMORY
  LET t = "aaaaaaaaaaaaa"
  DISPLAY t.getLength() -- Shows 13
END MAIN