ICL> SAVE SQUARE_ROOTTo load it again, probably in a subsequent ICL session we would use the LOAD command.
ICL> LOAD SQUARE_ROOTThe SAVE command causes the procedure to be saved in a file with name SQUARE_ROOT.ICL in the current default directory. LOAD will load the procedure from the same file, also in the default directory. With LOAD however it is possible to specify an alternative directory if required:
ICL> LOAD DISK$USER:[ABC]SQUARE_ROOTIf you have many procedures you may not want to save and load them all individually. It is possible to save all the current procedures using the command:
ICL> SAVE ALLThis saves all the current procedures in a single file with the name SAVE.ICL. These procedures may then be reloaded by the command:
ICL> LOAD SAVEThe SAVE ALL command is rarely used however, because this command is executed automatically whenever you exit from ICL. This ensures that ICL procedures do not get accidentally lost because you forget to save them.
ICL The Interactive Command Language for ADAM