ADDRESS null
OPTIONS 'TRAP'
SIGNAL ON HALT
SIGNAL ON SYNTAX
SIGNAL ON ERROR
CALL RXERR('ERROR|DISPLAY')
rxtype.1 = 'SPIN'
rxflags.1 = 'REPORT'
rxlabel.1 = 'Force to 129:|'
rxinfo.1 = '40 200'
rxval.1 = '64'
rxpos.1 = '1 8 8 70'
rx = ''
CALL RXCREATE('RX', 1, 'RXSET() VALUE -- SPIN', 'NOCLOSE')
DO FOREVER
CALL RXMSG()
IF rxid == '' THEN SIGNAL HALT
CALL RXSET(, 'VALUE', 129, 1, 1)
END
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|