ADDRESS null
OPTIONS 'TRAP'
SIGNAL ON HALT
SIGNAL ON SYNTAX
SIGNAL ON ERROR
CALL RXERR('ERROR|DISPLAY')
rxtype.1 = 'TEXT'
rxflags.1 = 'CENTER|NOBORDER'
rxlabel.1 = 'This is an example of RXSET with a WindowOperation of MOVE.|Move the window and press ENTER.|Window will be forced to the upper left corner of Desktop.|'
rxpos.1 = '1 10 10'
rx = ''
CALL RXCREATE('RX', 1, 'RXSET() MOVE -- Window', 'NOCLOSE|RESULT')
DO FOREVER
CALL RXMSG()
IF rxid == '' THEN SIGNAL HALT
CALL RXSET(, 'MOVE', 0 0)
END
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|