Adds path components to the SPL search path
ADDSPLPATH("path", subdirs)
"path" |
- |
A string. The path to add to the SPL search path. |
||||
subdirs |
- |
Optional. An integer, include sub-folders flag:
|
A string, the new full SPL search path.
addsplpath("C:\myfolder")
Adds the path C:\myfolder
to the current SPL search path. All C:\myfolder are included.
addsplpath("C:\myfolder;D:\new\folder", 0)
Adds the path C:\myfolder and D:\new\folder
to the current SPL search path. C:\myfolder and D:\new\folder are not included.
The SPL search path defines where the system looks for SPL functions, modules, and user defined menus. ADDSPLPATH appends custom directories to this path, extending the search beyond the defaults
Multiple paths are delimited with the ; character.
See RESETSPLPATH to remove custom paths from the SPL search path.