HP 3000 Manuals

&SAVE [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

&SAVE 

Syntax 

&SAVE {varname} [data]

where:

varname               unquoted string up to 16 characters
data                  quoted string, unquoted string, parenthetical
                      string or numeric value in the range -32768 to
                      32767, and can be up to 160 characters

Description 

&SAVE stores the given data value of any type in the variable varname.
If no data parameter is present, a null string is stored in the variable.
Numbers that are outside the accepted range will be treated as unquoted
strings and cannot be used in arithmetic expressions.

See also:  <VAR>.

Example 

     &SAVE x Time is <TIME>

At 13:30 the contents of x would be:

     Time is 13:30

This following example adds 1 to the variable x.

     &SAVE x <ADD <VAR x> 1>



MPE/iX 5.0 Documentation