Library /sys$common/syshlp/dbg$help.hlb DEBUG, Language Support, CC, Operators in Language Expressions *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Supported C operators in language expressions include: Kind Symbol Function Prefix * Indirection Prefix & Address of Prefix sizeof size of Infix + Addition Infix * Multiplication Infix / Division Infix % Remainder Infix << Left shift Infix >> Right shift Infix == Equal to Infix != Not equal to Infix > Greater than Infix >= Greater than or equal to Infix < Less than Infix <= Less than or equal to Prefix ~ Bit-wise NOT (tilde) Infix & Bit-wise AND Infix | Bit-wise OR Infix ^ Bit-wise exclusive OR Prefix ! Logical NOT Infix && Logical AND Infix || Logical OR Because the exclamation point (!) is an operator in C, it cannot be used as the comment delimiter. When the language is set to C, the debugger instead accepts /* as the comment delimiter. The comment continues to the end of the current line. (A matching */ is neither needed nor recognized.) To permit debugger log files to be used as debugger input, the debugger still recognizes an exclamation point (!) as a comment delimiter if it is the first nonspace character on a line. The debugger accepts the prefix asterisk (*) as an indirection operator in both C language expressions and debugger address expressions. In address expressions, prefix "*" is synonymous to prefix "." or "@" when the language is set to C. The debugger does not support any of the assignment operators in C (or any other language) in order to prevent unintended modifications to the program being debugged. Hence such operators as =, +=, ++, and -- are not recognized. To alter the contents of a memory location, you must use an explicit DEPOSIT command.
|