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 = 'PLEASE READ!|This is a REXX example of|centered text.|Text Stuff'
rxpos.1 = '1 10 20'
rxtype.2 = 'TEXT'
rxflags.2 = 'CENTER'
rxlabel.2 = 'First|Second|Third|1|3|5|2|4|6|Chart'
rxpos.2 = '3 14 100'
rx = ''
CALL RXCREATE('RX', 2, 'Main Window', 'RESULT|MIN')
CALL RXMSG()
EXIT
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|