ADDSPLPATH

Purpose:

Adds path components to the SPL search path

Syntax:

ADDSPLPATH("path", subdirs)

"path"

-

A string. The path to add to the SPL search path.

subdirs

-

Oprional. An integer, include sub-folders flag. Defaults to 1, include all sub-folders of "path".

Returns:

A string, the new full SPL search path.

Example:

addsplpath("C:\myfolder")

 

Adds the path C:\myfolder to the current SPL search path.  All sub-folders within C:\myfolder are included.

Example:

addsplpath("C:\myfolder;D:\new\folder", 0)

 

Adds the path C:\myfolder and D:\new\folder to the current SPL search path. Sub-folders within C:\myfolder and D:\new\folder are included.

Remarks:

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.

See Also:

GETHOME

GETLABNAME

GETLABPATH

GETMISCPATH

GETSPLPATH

GETWORKSHEETNAME

REHASH

RESETSPLPATH