;
PRINT -- Displays the values of expressions given in the parameter list.
FORMAT
-Ascii
-Binary
-Decimal
-Hex
Print -Octal expression1, ... expressionN
-Unsigned
-Float
-Real
-DOUble
REQUIRED ARGUMENTS
None. If you issue the PRINT command with no arguments, DEBUG
prints a blank line.
OPTIONAL ARGUMENTS
Each of the following optional arguments (except expression) causes PRINT to
ignore the data types of all variables in the list and to display the data
in a specific way. If you do use one of these arguments, it must precede
expression1:
-Ascii Displays the data as if it were one or more ASCII
values. (An ASCII value takes up 8 bits, so a 32-bit
variable will be translated into 4 ASCII values.)
-Binary Displays the data in binary (base 2) integral value.
-Decimal Displays the data in decimal (base 10) integral value.
-Hex Displays the data in hexadecimal (base 16) integral
value.
-Octal Displays the data in octal (base 8) integral value.
-Unsigned Displays the data in unsigned decimal integral value.
-Float Displays the data in 32-bit (single-precision)
floating-point value.
-Real Identical to -Float.
-DOUble Displays the data in 64-bit (double-precision)
floating-point value.
expression One or more legal DEBUG expressions. (See the "expres-
sions" listing earlier in this encyclopedia for
details.)
DESCRIPTION
Use the PRINT command to display the values of one or more expressions or
variables.
For full details, see Chapter 3 of the DOMAIN Language Level Debugger
Reference manual.