Recompiles and reloads one or more loaded SPL functions.
SPLRELOAD("spl1", "spl2", ..., "splN")
"splN" |
- |
One or more strings. The names of the SPL functions to reload. |
SPLRELOAD spl1
spl1 - The name of the external SPL file without quotes. Command form.
W1: trapz(1..10)
splreload("trapz")
Recompiles the loaded trapz SPL function.
splreload trapz
Same as above but uses the command line form.
splreload("trapz", "cumsum")
Recompiles the trapz snd cumsum SPL functions.
SPLRELOAD recompiles and reloads one or more previously loaded SPL functions. This can be useful during the development of SPLs where a function undergoes a test and edit cycle.
Consider a custom SPL named myspl that resides in a folder D:\project\spl. If the file path is not on the SPL search path, the function is first loaded with:
splload("D:\project\spl\myspl")
Once loaded, if modifications are made, the function can be recompiled and reloaded without having to specify the source path with:
splreload("myspl")
or
splreload myspl