Writing SPL Functions to an ASCII File

 

SPL functions defined in the current session can be saved to a text file with the splwrite command. For example:

 

splwrite("myfunc.spl", 1, 25)

 

creates a file myfunc.spl that contains functions 1 through 25 as defined by the list of functions produced by the functions command.