up previous next

More on Entering Commands

One may save a sequence of commands in a file and read them into a CoCoA session with the Source command (or equivalently, with <<). For instance, if a sequence of CoCoA commands is saved in the file MySession, one may enter
<< MySession;
to run the commands (give the full pathname, or store your file in the cocoa directory). User-defined functions are often stored in files and sourced in this way.