Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Examples

Parameters

Qualifiers

/ADDRESS

/BINARY

/CONDITION_VALUE

/DECIMAL

/HEXADECIMAL

/OCTAL

DEBUG EVALUATE — VMS FORTRAN_5.2

     Evaluates an expression  in  the  currently  set  language.   The
     debugger  interprets  the  parameter  in an EVALUATE command as a
     source-language expression, evaluates it in the semantics of  the
     source  language,  and  displays  its  value  as a literal in the
     source-language.

     If   an    expression    contains    symbols    with    different
     compiler-generated  types,  the debugger uses the type-conversion
     rules of the current language to evaluate the expression.

 Format:

     EVALUATE [/qualifier] expression [,expression,...]

Additional information available:

ExamplesParametersQualifiers

/ADDRESS/BINARY/CONDITION_VALUE/DECIMAL/HEXADECIMAL
/OCTAL

Examples

     DBG> SET LANG FORT
     DBG> EVAL 1+1*2
     3
     DBG> EVAL 1+1.1
     2.10000
     DBG> EVAL 3 .EQ. X(1)
     True
     DBG> SET LAN PAS
     DBG> EVAL 3 = X[1]
     True

Parameters

 expression

     Any legal expression in the source language, where an  expression
     may   be   composed  of  one  or  more  operators,  operands,  or
     delimiters.  See the help on  "Languages  lang-name"  for  tables
     specifying  what  operators  and  datatypes are accepted for each
     language.

Qualifiers

     Allowed qualifiers are:  /ADDRESS, /CONDITION_VALUE, and the four
     radix  qualifiers (/DECIMAL, /HEX, /BINARY, and /OCTAL).  See the
     individual subtopics for details.

/ADDRESS

     Specifies that the expression  which  is  the  parameter  in  the
     EVALUATE  command  be interpreted as an address-expression, whose
     value is a virtual memory address.

     Example:

     DBG> EVAL/ADDRESS X
     512
     DBG> EXAM 512
     X: 3
     DBG> EVAL X
     3

/BINARY

     Display the result in binary radix.

     Example:

     DBG> EVAL/BIN X
     00000000 00000000 00000000 0000011

/CONDITION_VALUE

     Specified that the value of the expression be  interpreted  as  a
     return status, and the message associated with that return status
     be displayed.

     Example:

     DBG> EVAL/COND 12
     "%SYSTEM-F-ACCVIO, access violation at address !XL, PC=!XL"

/DECIMAL

     Display the result in decimal radix.

     Example:

     DBG> EVAL/DEC %HEX 10
     16

/HEXADECIMAL

     Display the result in hexadecimal radix.

     Example:

     DBG> EVAL/HEX %DEC 10
     0A

/OCTAL

     Display the result in octal radix.

     Example:

     DBG> EVAL/OCTAL %DEC 10
     12

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