The function may be also used in server script (object of Event type).
%To_String(
in expression
[, HBJ in refToStatusText
[, INT in transPalIdx
[, INT in lngIdx]]]
) |
| expression | Expression, the result value of which is to be converted to a text. |
| refToStatusText | Optional parameter. Reference to object of Status text type. |
| transPalIdx | Optional parameter. Index of Transformation palette. |
| lngIdx | Optional parameter. Language index in Dictionary. |
TEXT _text INT _value _value := 1 ; conversion according to configuration of status text SText and Transformation palette index _text := %To_String(_value, SText\HBJ, 1) ; conversion according to Transformation palette index _text := %To_String(_value, 0, 1) ; conversion according to configuration of status text SText _text := %To_String(_value, StavovyText\HBJ) ; conversion according to a language ID _text := %To_String(_value,0, 0, 2) |