next up previous contents
Next: Arithmetic or string assignment Up: THE SCL COMMANDS. Previous: DECLARE   Contents


SHOW-VARIABLES

This command allows you to inspect the variables accessible to SCL, both predefined (within SPECX) and user defined. These are listed in order of creation. One prompt:

Symbol name? (string)
Note that VMS-type wildcard matching is supported, as shown in the examples below: all strings, ranging from length 0 upwards, that match the wildcard character (*) are accepted as a valid match. Note that the asterisk at the start of the output variable name indicates that the variable is readonly.

Examples:

    >> show-var <CR>
    Symbol name?  f* <CR>

      (Symbol name     Type Array_length)
        *F               L4      1
        *FALSE           L4      1
        F_REST           I4      8
        F_CEN            I4      8
        F_INC            I4      8
        FSS_INTS         I4     10
        FSS_AV           R4      1
        FSS_VAR          R4      1
        FSS_SD           R4      1
        FCORRECT         L4      1
        FRQCOEFF         R4      6
        FIT_TOL          R4      1
        FIT_DEBUG        I4      1
        FREQ_COEFF       R4      1

    >> show-var *q* <CR>

     (Symbol name     Type Array_length)
        LO_FREQ          R8      8
        IF_FREQ          R8      8
        *NQUAD           I4      1
        CENTRE_QUAD      I4      1
        FRQCOEFF         R4      6
        FREQ_COEFF       R4      1



Jamie Leech 2004-08-16