up previous next
2.2.5 More on Entering Commands
***** NOT YET UPDATED TO CoCoA-5: follow with care *****

One may save a sequence of commands in a file and read them into a CoCoA session with the Source command. For instance, if a sequence of CoCoA commands is saved in the file MySession , one may enter
  Source "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.