Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

;



DEBUG "Set" Command...

Set  [-F1 | -F2 | -F4 | -FN]  <variable>  = | :=  <expr>
   or
Set  <variable>[,<variable,...]

    The first format sets ONE variable only to the data of the <expr>.
    The variable may also be an entire array, or array dimension.

    If a "force" option (-F1 | -F2 | -F4 | -FN) is used, it must
    follow the Set command.  "F1, F2, and F4" cause ONLY 1, 2 or 4
    bytes of data to be taken from <expr>.  "FN" forces the number
    of bytes of data as there are in <expr>.  In all cases, the data
    is unconditionally put into the <variable>.

    The second format displays the list of variables, one at a time,
    and waits for an OPTIONAL <expr> to change the contents.
    Whether or not an <expr> is given, each line may be terminated by:

       RETURN      goes on to the next variable on the list;
       semi-colon  terminates the Set;
       comma       terminates an aggregate variable and goes on
                   to the next variable on the list.

    The Set command is also used to create debugger variables.  If a
    debugger variable is given in a Set command and it does not exist,
    the command creates the variable and then sets its value.  A
    debugger variable is an identifier preceded by an accent grave <`>.

    See Examine for a definition of <variable> and a discussion of the
    debugger variables in general, and special ones `max_var_len and
    `max_array_dim in particular.  See IF for a definition of <expr>.

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