Lists details of the data structures currently available within Genstat.
|What to print (
||Channel number of file, or identifier of a text to store output; default current output file|
||Whether to include “system” structures with prefix
||When used within a procedure, this allows the listing of structures in the program that called the procedure (
|strings||Types of structure to list (
LIST directive can be used to lists the data structures that are currently available. It is particularly useful when you are working interactively to remind you about the data structures that you have set up, and the identifiers that you have used.
LIST prints details of relevant attributes, as well as the identifiers, but this can be controlled using the
CHANNEL option can be set to a scalar to divert the output to another output channel. Alternatively, it can specify the identifier of text data structure to store the output (and in fact an undeclared structure will be defined as a text, automatically).
SYSTEM option of
LIST controls whether structures whose identifiers begin with the underscore character
_ are listed; this character is used as a prefix for example for the specialized structures set up by the Client program in Genstat for Windows, so their inclusion could be confusing.
SCOPE option can be used within a procedure to list the data structures in the program that called the procedure (
SCOPE=external) or in the outermost part of the program (
Commands for: Data structures.
" Example 1:2.11.1 " VARIATE [NVALUES=12] Count,Dose READ Count,Dose 3 100 247 600 6 200 171 400 8 200 5 200 615 600 153 400 2 100 4 100 38 400 214 600 : CALCULATE Logcount = LOG10(Count+1) VARIATE [NVALUES=12] Fitted GROUP Dose; Dgroup LIST variate LIST factor