next up previous 222
Next: Examples
Up: Browsing and selecting from the command line
Previous: Running catview from a script


Continuation lines for long lists of columns and expressions

Occasionally you might need to enter a long list of columns and expressions for display (catview option SETCMP) or a long expression for a selection (catview option SETSEL). In both these cases a continuation line mechanism is available which allows lists and expressions which are longer than a single input line to be entered. This option is only available in catview, not in xcatview. If you need to specify long lists of columns and expressions to be displayed, or a long expression defining a selection, then you must use catview. In practice this restriction is not too onerous because long lines usually arise when expressions are being used to compute a set of new columns, which is often done from the command line anyway.

In order to extend the list of columns and expressions to be displayed across several lines simply append an `@' character to the end of the line to be continued. The prompt:

CMPLIST - Columns to be listed>

will be repeated and the line can be continued. The details are as follows.

Though this mechanism allows long lists and expressions to be entered, there are necessarily still limits on the length of the list of columns and expressions for display and on expressions defining selections, because they are represented within catview as Fortran 77 CHARACTER variables. In version 6.4 of CURSA these limits are:

List of columns and expressions for display: 1000 characters.
Expression defining a selection: 200 characters.



Subsections

next up previous 222
Next: Examples
Up: Browsing and selecting from the command line
Previous: Running catview from a script

CURSA Catalogue and Table Manipulation Applications
Starlink User Note 190
A.C. Davenhall
4th November 2001
E-mail:starlink@jiscmail.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils