package

Define a package

Description:

This command declares the name of a package and defines the commands etc. contained in the package.

Invocation

package pkgname { definition }

Arguments

pkgname
The name of the package. This will be used as the name of the created package definition files.
definition
A
Tcl script defining the package in terms of the Tcl procedures declared for a package.

Subcommands

The following keywords are defined within a package definition: executable, version, exepath, helplib, prefix, display, defhelp, command, icl, csh, sh.

Examples:

package kappa {

executable kappa_mon {

...

}

}

Defines the KAPPA package.


ADAM:

Opens the .icl and .csh files.
IRAF:
Opens the .cl file.