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 is searched for SPL functions, modules and user menus. ADDSPLPATH extends the search path with custom additions.
Multiple paths are delimited with the ; character.
See RESETSPLPATH to remove custom paths from the SPL search path.