AMOSi:Dialog
an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Communication.AMOS
Checks whether the user has selected one of the options from a control panel.
button=Dialog(channel)
The return value can take one of several values.
=0 There has been no input from the user since the last selection.
>0 Holds the number of the last button highlighted by the user.