How do I use GuiXT variables?

Use Set command to set or to retrieve values from / to a GuiXT variable.

//Set a variable called temp. Order type can be an SAP field
Set V[temp] "&[Order type]"

//Set an SAP variable named Order type with value of a GuiXT variable named temp
Set F[Order type] "&[temp]"