an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Sliders.AMOS
Reads or modifies the internal variables in any active Interface program directly from AMOS Basic.
Assigns a value to an Interface variable.
Reads a value from an Interface variable.
channel sets the number of an open dialogue channel.
var indicates the number of the variable to be accessed.