The function gets back a value of configuration parameter "Range" to the object of the Status text type.
Declaration
INT %GetStTextRange(
HBJ in _h
)
Parameters
_h
THe value of the HBJ or INT type.
Description
The parameter _h represents a unique identifier of the object of the Status text type. You can get it as attribute \HBJ. If the parameter _h represents invalid value or refers to the object of incorrect type or the object with specific unique identifier does not exist, the function generates an interruption of ESL script executing with error ERR_EXPRESSION_STATUS.
Example
REAL _base
REAL _step
INT _range
; ST_TEXT_OBJ - object of Status text type
_base := %GetStTextBase(ST_TEXT_OBJ\HBJ)
_step := %GetStTextStep(ST_TEXT_OBJ\HBJ)
_range := %GetStTextRange(ST_TEXT_OBJ\HBJ)
0 komentárov