SET BIND
SET BIND action
Function
Binding (or unbinding) a row of a local variable of the RECORD type to a row of an object of the Structured variable type.
Declaration
SET _locRecord_Row BIND structObj_Row
or
SET _locRecord_Row BIND NONEParameters
_locRecord_Row | in | Reference to a row of the Structure (RECORD) type local variable. |
structObj_Row | in | Reference to a row of the Structured variable type object. |
Description
The structure types of the parameters _locRecord_Row and structObj_Row must be identical (otherwise the action generates the error _ERR_RECORD_NO_COMP).
The action binds the given row of the RECORD type local variable to the given row of a Structured variable type object. Binding results in that all actions, executed on items (of a local variable) of such a row bound, are executed, in principle, on the particular items of a Structured variable type object (reading/setting a row, changing an linked object for items of Object type (SET AS or SET WITH actions).
The action SET _locRecord_Row BIND NONE will unbind the given rows and all values of the row unbound will get undefined value.
See also:
Related pages: