ADDRESS null
OPTIONS 'TRAP'
SIGNAL ON HALT
SIGNAL ON SYNTAX
SIGNAL ON ERROR
CALL RXERR('ERROR|DISPLAY')
rxtype.1 = 'SPIN'
rxflags.1 = ''
rxlabel.1 = 'Range 1:|Range 2:|Try us'
rxval.1 = '64 19'
rxinfo.1 = '0 255 10 20'
rxpos.1 = '1 20 20 70'
rx = ''
CALL RXCREATE('RX', 1, 'Spin Group', 'RESULT|SETVAL')
CALL RXMSG()
values = rxval.1
DO i = 1 TO 2
PARSE VAR values knob values
CALL RXSAY('Spin #' || i || ' = ' || knob)
END
CALL RXCREATE('RX', 1, 'Spin Group', 'RESULT|SETVAL')
CALL RXMSG()
IF rxid \== '' THEN DO
values = rxval.1
DO i = 1 TO 2
PARSE VAR values knob values
CALL RXSAY('Spin #' || i || ' = ' || knob)
END
END
EXIT
syntax:
CALL RXSAY(CONDITION('D') || '0D0A0D0A'x || SOURCELINE(sigl),,'Error '||condition('E')||' at line '||sigl)
halt:
error:
CALL RXMSG(,'END')
EXIT
|