Tool Command Language: 7.3 Using a New Command: Explicit Loading

Up: GEOS SDK TechDocs | Up | Prev: 7.2 Autoloading

Another way to load a command into Swat is to use the load command from the Swat command line. This command is simply load <path>/<filename> . If no path is given, then the <file> is loaded from the directories specified in the load-path variable. The load command will load the given file (a Tcl procedure or subroutine) into Swat for subsequent use, and it is mostly used to load infrequently accessed files. (See , for more information on the load command.)


Up: GEOS SDK TechDocs | Up | Prev: 7.2 Autoloading