Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

PATCH EVALUATE — VMS 5.4

Use EVALUATE to evaluate one of the following:

          o  Arithmetic expressions

          o  Values

          o  Variable-length bit fields

Evaluating Arithmetic Expressions:
__________ __________ ____________
     Use the EVALUATE command to perform binary and unary arithmetic
     operations.

     The EVALUATE command interprets expressions and displays  results
     in the current length and radix modes.

Evaluating Values:
__________ _______
     Use the EVALUATE command to determine the value associated with
     a symbol or pathname.  The values are displayed in terms of the
     current length and radix mode setting.

Evaluating Variable-Length Bit Fields:
__________ _______________ ___ _______
     Use the EVALUATE command to display the current contents of a
     specific bit field in a value.  The syntax for this command is:

          EVALUATE value <high-bit:low-bit>

     The bit position delimiters (high-bit and low-bit) are  specified
     as decimal integers.

     Bit positions range from 0 (least significant bit)  to  31  (most
     significant  bit).   PATCH  extracts  the  contents  of  the  bit
     positions and reports the contents in longword representation and
     in  terms  of the current radix setting.  The current length mode
     is ignored.  Note that ASCII mode and INSTRUCTION mode cannot  be
     set when you evaluate selected bit positions.

Format:

     EVALUATE expression [,...]

          Mode Qualifiers                 Default

          /BYTE
          /WORD                           /LONG
          /LONG

          /OCTAL
          /DECIMAL                        /HEXADECIMAL
          /HEXADECIMAL

          /[NO]ASCII                      /NOASCII
          /[NO]INSTRUCTION                /NOINSTRUCTION

          /[NO]GLOBALS                    /NOGLOBALS
          /[NO]SCOPE                      /SCOPE

Prompts:

        EXP> expression


Additional information available:

Parameters

Parameters

expression
     Indicates an arithmetic expression, a value and corresponding bit
     field, or a literal value that is to be evaluated in terms of the
     current mode settings.


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