|
|
By default, output values are in hexadecimal, and four bytes worth of value (a long) is printed out.
If an expression is of type char, unsigned char, short, or unsigned short, the appropriate amount of information is printed.
To modify output, a calculator input line is preceded by an open-curly-bracket ({), which is followed by a list of specifiers and a close-curly-bracket (}). Strings may also be given to output before or after the value is given; normal character escapes as accepted by echo(C) are allowed. The specifiers are:
? | list Output modifiers |
> | no value output |
b | output value as a byte |
s | output value as a word |
2 | output value in binary |
o | output value in octal |
d | output value in decimal |
: | output string |
debug0:24> {d:Value:ok}value
Value 10 ok
Note that expressions of type void have
an output length of zero (no value is given).