Usr_SetVarInt

SUMMARY

Usr_SetVarInt - Set window variable

SYNTAX

Usr_SetVarInt(variable)

ARGUMENTS

variable
Window-Variable - is set to the PointId of the Object-Number that is read from the Stack.

DESCRIPTION

Reads value from the stack, strips off any decimal places, interprets it as Object-Number and sets the defined Window-Variable to the appropriate PointID.
A complete Job sequence might look like:

Obj_QueryAttr(test_0,value)
Usr_PushArgs()
Usr_SetVar($wnd1)

EXAMPLES

Usr_SetVar($wnd1)

The converted value is handed over to the Window-Variable $wnd1 as PointId


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times