AMOSi:Rdialog
an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Editing_zones.AMOS
Reads the position of a particular button or selector.
b=Rdialog(channel,zone)
channel is the number of a currently open Interface channel
zone specifies the button or zone to be tested.
b=Rdialog(channel,zone,version)
If you omit the version number, RDIALOG will return the position of the FIRST object you've defined with the current zone number.