TEXT.getLength

Returns the length of a TEXT content.

Syntax

getLength( )
   RETURNING result INTEGER

Usage

This method returns the number of bytes of the TEXT data.

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

Example

MAIN
  DEFINE t TEXT
  LOCATE t IN MEMORY
  DISPLAY t.getLength()
END MAIN