In most cases, use quotation marks to enclose variable names that are specified with OPSBITS, as shown in the following example:
msg.desc = opsbits('hilite')
Important! Use quotation marks if you use hilite as a variable in your OPS/REXX program.
The following statements are equivalent to the statement in the previous example:
anyvar = 'hilite'
msg.desc = opsbits(anyvar)
Note: OPSBITS(1) is not the same value as the commonly used EQU symbol BIT1 because bit numbers in the assembler language start at 0 rather than 1.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|