Index

import filename

Import the contents of another script.

Arguments:
filename
The name of a file containing script commands. This should either be a literal pathname, or the name of a script InputFile argument preceded by a $.

Example:
The following example imports a file that contains a number of convenient user-defined commands and functions.
 import ~mcs/CBI/conf/utils.sch
Context:
It is anticipated that over time CBI observers will create a number of canned observing procedures. These will hopefully be encapsulated in user-defined commands that take observing lists as arguments. In order not to have to cut and paste them into every observing schedule that gets written, these commands will be placed in a utility file that can be imported into subsequent observing schedules, using the import command.

Martin Shepherd (9-Oct-1997)