DADiSP Worksheet Functions > Function Categories > Series Processing Language (SPL) > ADDSPLPATH

 

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

-

Optional. An integer, include sub-folders flag:

0:

Do not search sub-folders of "path"

1:

Search sub-folders of "path" (default)

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 not 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