manual   quickstart   instguide   update   basis

Next: 8.10 Clearing variables Up: 8.9 Displaying variables Previous: 8.9 Displaying variables   Contents   Index   PDF

8.9.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: 8.10 Clearing variables Up: 8.9 Displaying variables Previous: 8.9 Displaying variables   Contents   Index   PDF

manual   quickstart   instguide   update   basis

molpro@molpro.net 2017-12-16