Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Example:

Parameters

DEBUG DECLARE — MicroVMS 4.4

     This command is only valid inside a DEBUG command procedure.  The
     command  is used to bind the actual parameters to names of formal
     parameters inside the command procedure.

     In the simplest case, this could look like DECLARE A,B,C.   Then,
     if three parameters were passed in to the command procedure, they
     can be referenced inside the command procedure by the names A, B,
     and C.  The number of parameters to the procedure is given by the
     symbol %PARCNT (see HELP Lexical %PARCNT).

 Format:

     DECLARE name [:kind] [, name [:kind] ...]

Additional information available:

Example:Parameters

Example:

     $ CREATE DUMPMEM.COM
     DECLARE P1:ADDRESS,P2:VALUE
     EXAMINE P1:P1+P2

Parameters

 name

     The name of the  formal  parameter.   This  can  be  composed  of
     alphabetics  (A-Z)  and  numerics  (0-9)  and  must start with an
     alphabetic.

 kind

     Can be any of ADDRESS, COMMAND, or VALUE,  corresponding  to  the
     three kinds of DEFINE symbols.

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