ADDRESS null
OPTIONS 'TRAP'
SIGNAL ON HALT
SIGNAL ON SYNTAX
SIGNAL ON ERROR
CALL RXERR('ERROR|DISPLAY')
rxtype.1 = 'LIST'
rxflags.1 = 'REPORT'
rxlabel.1 = 'Force to Hello:|'
rxval.1 = 'STRS'
rxpos.1 = '1 8 8 90 6'
strs.1 = 'some stuff'
strs.2 = 'hi'
strs.3 = 'hello'
strs.4 = 'blort'
strs.5 = ''
rx = ''
CALL RXCREATE('RX', 1, 'RXSET() VALUE -- LIST', 'NOCLOSE')
DO FOREVER
CALL RXMSG()
IF rxid == '' THEN SIGNAL HALT
CALL RXSET(, 'VALUE', 'hello | 1', 1, 1)
END
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|