Next Previous Up Contents
Next: Examples
Up: calc: Evaluates expressions
Previous: calc: Evaluates expressions

A.1.1 Usage

The usage of calc is

   stilts <stilts-flags> calc table=<table>
                              [expression=]<expr>
If you don't have the stilts script installed, write "java -jar stilts.jar" instead of "stilts" - see Section 3. The available <stilts-flags> are listed in Section 2.1.

Parameter values are assigned on the command line as explained in Section 2.3. They are as follows:

expression = <expr>
An expression to evaluate. The functions in Section 7.5 can be used.
table = <table>
A table which provides the context within which expression is evaluated. This parameter is optional, and will usually not be required; its only purpose is to allow use of constant expressions (table parameters) associated with the table. These can be referenced using identifiers of the form param$* or ucd$* - see Section 7.2 for more detail.


Next Previous Up Contents
Next: Examples
Up: calc: Evaluates expressions
Previous: calc: Evaluates expressions

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk