Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

PATCH DEFINE — VMS 5.4

Use DEFINE to equate a  symbolic  name  to  a  value.   Once  the
assignment  has been performed, you can specify the symbolic name
in place of the value it denotes for the duration  of  the  PATCH
session.

When you use the DEFINE command to create symbolic  names,  PATCH
always  searches  the symbol table for these symbolic names first
when it translates a symbol into a value.  More than one symbolic
name can be assigned to a single value.

     You can redefine a symbolic name to represent a new value.

     Two restrictions apply to the use of the DEFINE command:

          o  You cannot equate a symbolic name to a pathname

          o  You  cannot  specify  the  /INSTRUCTION  or  /ASCII  mode
             qualifiers,  nor  can  you  set  the INSTRUCTION or ASCII
             modes, when equating a symbol name to a value

Format:

     DEFINE symbol-name = value [,symbol-name = value,...]

Prompts:

        NAM> symbol-name
        VAL> value

If you enter the symbol name on the initial  command  line,  you  must
also enter the value on that line.

Additional information available:

Parameters

Parameters

symbol-name
     Specifies  a  1-  to  31-character  user-defined  symbol  to   be
     associated  with the specified value.  The symbol name must start
     with an alphabetic character, and  can  consist  of  alphanumeric
     characters, dollar signs ($), underscores (_), and/or periods (.).
     (PATCH does not distinguish between  uppercase  and  lowercase
     letters; that is, the value ABC is equivalent to the value abc.)
     The symbol name cannot be a pathname.

value
     Specifies a numeric address or symbolic expression that is to  be
     assigned the specified symbolic name.



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