Writes SPL functions to an external ASCII file.
SPLWRITE("filename", start, end, all)
"filename" |
- |
A string. The target file name. |
||||||
start |
- |
Optional. An integer. The function number, appearing in the function table, to begin writing. Defaults to 1. |
||||||
end |
- |
Optional. An integer. The function number, appearing in the function table, to end writing. Defaults to -1 (all functions). |
||||||
all |
- |
Optional. An integer, the type of SPL functions to include:
|
splwrite("testdata.spl", 1, 25)
writes functions 1 through 25, as defined by the list of functions generated by the FUNCTIONS command, to the ASCII file, testdata.spl.
An SPL file is a simple ASCII text file you can create with any text editor. The file contains SPL functions that can be used just like any BUILTINS function.