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