Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ e_v — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

;
EXAMINE -- Displays the values of one or more variables.


FORMAT

                                       -Ascii
                                       -Binary
                                       -Decimal
                                       -Hex
  Examine   variable1 ... variableN    -Octal
                                       -Unsigned
                                       -Float
                                       -Real
                                       -DOUble


REQUIRED ARGUMENT

  variable      One or more program variables (of any data type) or debugger
                variables.

OPTIONAL ARGUMENTS

  Each of the following optional arguments causes EXAMINE to ignore the data
  types of all variables in the list and to display the data in a specific
  way.

  -Ascii      Displays the data as one or more ASCII characters. (An ASCII
              value takes up 8 bits, so a 32-bit variable will be translated
              as 4 consecutive ASCII values.)

  -Binary     Displays the data in binary (base 2) format.

  -Decimal    Displays the data in decimal (base 10) format.

  -Hex        Displays the data in hexadecimal (base 16) format.

  -Octal      Displays the data in octal (base 8) integral format.

  -Unsigned   Displays the data in unsigned decimal format.

  -Float      Displays the data in 32-bit (single-precision) floating-point
              format.

  -Real       Identical to -Float.

  -DOUble     Displays the data in 64-bit (double-precision) floating-point
              format.

  Note that data is never converted (cast).


DESCRIPTION

  Use the EXAMINE command to display the current value of one or more
  variables.  The variables can be of any data type.  If you specify
  a compound variable (such as an array, structure, or record) EXAMINE
  displays the value of each component comprising the variable.

  You can optionally specify one formatting option (e.g., -Hex).  The option
  may precede or follow the list of variables but cannot be placed in the
  middle of the list.

  The PRINT command provides you with an alternative way to display the
  contents of a simple variable.

  For full details, see Chapter 3 of the DOMAIN Language Level Debugger
  Reference manual.  In Chapter 3, look at the "EXAMINE" listing.  You may
  also want to look at the "PRINT", "arrays", "pointers", "variables", and
  "debugger-variables" listings.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026