next up previous 63
Next: Editing Procedures
Up: ICL Procedures
Previous: Running a Procedure


Listing Procedures

The LIST command can be used to list a procedure on the terminal. Just type LIST followed by the name of the procedure you want to list.
    ICL> LIST SQUARE_ROOT


        PROC SQUARE_ROOT X
        {  An ICL procedure to print the square root of a number  }
        PRINT The Square Root of (X) is (SQRT(X))
        END PROC

    ICL>
To find the names of all the current procedures use the command PROCS.
    ICL> PROCS

    SQUARE_ROOT

    ICL>


next up previous 63
Next: Editing Procedures
Up: ICL Procedures
Previous: Running a Procedure

ICL The Interactive Command Language for ADAM
Starlink Guide 5
J A Bailey
A J Chipperfield

9th June 1998
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council