Library /sys$common/syshlp/helplib.hlb  —  MACRO  /ALPHA  Unary Operators
    A unary operator modifies a term or an expression and indicates
    the action to be performed on that term or expression.
    Expressions modified by unary operators must be enclosed in
    angle brackets. You can use unary operators to indicate whether
    a term or expression is positive or negative. If unary plus or
    minus is not specified, the default value is plus. In addition,
    unary operators perform radix conversion and numeric control
    operations, as described in the following sections.

    Table 3 Summary of Unary Operators

    Unary  Operator
    OperatoName       Example  Operation

    +      Plus       +A       Results in the positive value of A.
           sign
    -      Minus      -A       Results in the negative (two's
           sign                complement) value of A.
    \      Value of   \symbol  Indicates that the value of the symbol
           Escape              should be used. In a string literal,
                               indicates an escape sequence. For
                               example:
                               "Bob\X0A"
    ^A or  ASCII      ^A       Specifies an ASCII constant.
    ^a                /ABCD/
    ^B or  Binary     ^B1100011Specifies that 11000111 is a binary
    ^b                         number.
    ^D or  Decimal    ^D127    Specifies that 127 is a decimal
    ^d                         number.
    ^O or  Octal      ^O34     Specifies that 34 is an octal number.
    ^o
    ^X or  Hexadecimal^XFCF9   Specifies that FCF9 is a hexadecimal
    ^x                         number.
    ^C or  Complement ^C24     Produces the one's complement value of
    ^c                         24 (decimal).
Additional Information: explode extract
Radix Control Operators Numeric Complement Operator
Close Help