ADDRESS null
OPTIONS 'TRAP'
SIGNAL ON HALT
SIGNAL ON SYNTAX
SIGNAL ON ERROR
CALL RXERR('ERROR|DISPLAY')
rxtype.1 = 'PUSH'
rxflags.1 = 'BOOL|RESULT|LABEL'
rxlabel.1 = 'Cancel | Ok |'
rxval.1 = 'Ok'
rxpos.1 = '-1 74 168'
rxtype.2 = 'SLIDER'
rxflags.2 = 'VALUE'
rxlabel.2 = 'Range 1:| Range 2:|'
rxval.2 = '64 32'
rxinfo.2 = '0 128 0 64'
rxpos.2 = '1 12 28 142'
rxtype.3 = 'DROP'
rxflags.3 = 'INDEX'
rxlabel.3 = 'Type Here:|'
rxval.3 = 'BLORT'
blort.1 = 'This is 1'
blort.2 = 'This is 2'
blort.3 = 'This is 3'
blort.4 = 'This is 4'
blort.5 = 'This is 5'
blort.6 = 'This is 6'
blort.7 = 'This is 7'
blort.8 = ''
rxpos.3 = '1 65 78 100'
rxtype.4 = 'TEXT'
rxflags.4 = 'CENTER|NOBORDER'
rxlabel.4 = 'PLEASE READ!|This is a REXX example of|centered text.|'
rxpos.4 = '1 48 110 0 0'
rxtype.5 = 'GROUP'
rxflags.5 = ''
rxlabel.5 = 'Everything|'
rxpos.5 = '1 6 6 240 200'
rx = ''
CALL RXCREATE('Rx', 5, 'Main Window', 'RESULT|SETVAL')
CALL RXMSG()
CALL RXSAY('RXSUBID = ' || rxsubid || '0A0D'x || 'Result button value = ' || rxval.1)
EXIT
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|