FGL_BUFFERTOUCHED()

Returns TRUE if the input buffer was modified in the current field.

Syntax

FGL_BUFFERTOUCHED()
  RETURNING result INTEGER

Usage

The function returns TRUE if the input buffer has been modified after the current field was selected (i.e. got the focus).

Call this function in AFTER FIELD, AFTER INPUT, AFTER CONSTRUCT, ON KEY, ON ACTION blocks.

This function is not equivalent to FIELD_TOUCHED(): The modification status of FGL_BUFFERTOUCHED() is reset when entering a new field, while FIELD_TOUCHED() returns TRUE when a field was modified during the interactive instruction.