Next: 10.8 Clearing variables Up: 10.7 Displaying variables Previous: 10.7 Displaying variables

10.7.1 The SHOW command

The general form of the SHOW command is as follows:

SHOW[ncol,format],expression

where expression can be an expression or variable, ncol is the number of values printed per line (default 6), and format is a format (default 6F15.8). This can be used to print vectors in matrix form. The specification of ncol and format is optional. Assume that E is a vector:

SHOW,E
prints E using defaults.
SHOW[n],E
prints E with n elements per line; (if n>6, more than one line is needed, but in any case a new line is started after n elements).
SHOW[n,10f10.4],E
prints E in the format given, with newline forced after n elements.

Note that the total length of the format should not exceed 100 characters (a left margin of 30 characters is always needed).

A wild card format can be used to show several variables more easily:

SHOW,qm*,dm*

shows all variables whose names begin with QM and DM. Note that no letters must appear after the *, i.e., the wild card format is less general than in UNIX commands.

See the TABLE command for another possibility to tabulate results.



Next: 10.8 Clearing variables Up: 10.7 Displaying variables Previous: 10.7 Displaying variables

P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002