Usage / DIALOG control instructions |
The language provides several built-in functions and operators to be used in a DIALOG block. Use these functions and operators to keep track of the relative states of the current row, the program array, and the screen array, or to access the field buffers and keystroke buffers: ARR_CURR(), ARR_COUNT(), FGL_SET_ARR_CURR(), SET_COUNT(), FIELD_TOUCHED(), GET_FLDBUF(), INFIELD(), FGL_DIALOG_GETFIELDNAME(), FGL_DIALOG_GETBUFFER().
The ARR_CURR(), ARR_COUNT() and FGL_SET_ARR_CURR() functions will work as in singular interactive instructions, in the context of a DISPLAY ARRAY or INPUT ARRAY controller which the focus.
As an alternative to functions and operators (especially for those taking hard-coded parameters such as INFIELD(field-name), use the methods provided in the ui.Dialog class.