Next: Listing header details
Up: Continuation lines for long lists of columns and expressions
Previous: Continuation lines for long lists of columns and expressions
- This example defines two new columns (ra2000 and dec2000) and sets some existing columns to be displayed.
ra2000{hmsrad(rah,ram,0.0)}radians{hours}; @
dec2000{dmsrad(decsign,decd,decm,0.0)}radians{degrees}; @
pk; v; v_limit; diam; radvel
- This example shows the definition of a single column ( ra2000) being split across several lines.
ra2000{hmsrad(rah,ram, @
0.0)}radi @
ans{hours};
- This example is a complete catview script for computing and
listing two new columns.
open
PLN
setcmp
ra2000{hmsrad(rah,ram,0.0)}radians{hours}; @
dec2000{dmsrad(decsign,decd,decm,0.0)}radians{degrees};
list
exit
Exactly the same syntax applies when entering expressions to define
selections.
Next: Listing header details
Up: Continuation lines for long lists of columns and expressions
Previous: Continuation lines for long lists of columns and expressions
CURSA Catalogue and Table Manipulation Applications
Starlink User Note 190
A.C. Davenhall
4th November 2001
E-mail:ussc@star.rl.ac.uk
Copyright © 2001 Council for the Central Laboratory of the Research Councils