This command executes all CoCoA commands in the file or device named
S. A typical use of 'Source' is to collect user-defined functions and
variables in a text file, say, 'MyFile.coc' and then execute:
Source 'MyFile.coc';
or, equivalently,
<< 'MyFile.coc';
Functions and variables read in from a file in this way will erase
functions and variables with identical names that may already exist.
This can be avoided by using packages. Repeatedly used functions can be
read into CoCoA at start-up by using 'Source' in the 'userinit.coc'
file.
|