Next: EXIT
Up: SIC Language Internal Help
Previous: END
EXAMINE
[SIC\]EXAMINE [Name] [/GLOBAL] [/FUNCTION] [/HEADER]
List variables or functions.
If the /FUNCTION option is not present, EXAMINE without argument gives
the list of known variables with their respective types. Each variable
name is followed by its definition and the keywords "GBL" for GLOBAL
(interpreter level 0) variables, LCL(lev) for LOCAL variables at
interpretor level "lev" (viz., in a procedure), WR for READ/WRITE
variables, RD for READONLY variables.
With argument, EXAMINE will usually type the content of the specified
variable (local variables have priority). But:
- If the argument ends by the % character, it is assumed to indicate
an image header, and all associated header variables are listed.
- Partial wildcarding is permitted: if the argument begins or/and ends
with the "*" character, all compatible variables names are listed.
- In any case, typing an ambiguous variable name will generate a list
of choices.
With the /FUNCTION option, lists the definition of the specified or all
(no command argument) user-defined functions.
With the /GLOBAL option, lists only the GLOBAL variables, as opposed to
LOCAL variables (i.e, in a loop or a macro)
With the /HEADER option, lists only the variables having an associated
header (i.e., the known images).
Gildas manager
2001-04-18