Macro Command Help

STKPAR

 

Macro Command Name

Menu Path

Link to Command Table

STKPAR

Access via macro or menu only

Click here

Introduction

Retrieves substitution variables and their values from a system character format file. 

How to use

The character file may be set up by the !STKSAV command from within a macro or menu, or it may be set up with a system editor.  The variables from file totally replace any existing variables in the stack.  The form of the command is:

!STKPAR    <filename>

Where <filename> is a system file name.  It may be up to 56 characters long andy may contain pathnames.  The <filename> may be substituted in whole or in part by substitution variables.  The form of the system file is:

nnn     

Number of substitution variables on file.  Max 25

 

<var1><val1>

 

<var2><val2>

 

.......

Where <var1>,<var2> are the names of the substitution variables, and <val1>,<val2> are their values.  Each <var> occupies 8 characters, followed by the value (max 72 characters).

Example

!STKPAR    /Studio 3/projects/$proj

Error and Warning Messages

>>>

!STKSAV or !STKPAR: ERROR IN ACCESSING SYSTEM FILE <<<

 

<listing of command line>

>>>

ERR 90 <<< (      0) IN MACGET

 

The file did not exist, was the wrong type, or a read error was encountered.  This message will also occur if no file was specified, or the file name was too long.  Fatal; the macro or menu is exited.