DADiSP Worksheet Functions > L - R > REHASH

 

REHASH

Purpose:

Updates various directory paths.

Syntax:

REHASH("pathname")

"pathname"

-

Optional. A string, the system path to update. If unspecified, updates all paths.

"libraries"

:

update path to internally used libraries

"modules"

:

update path to optional modules

"spl"

:

update path to SPL functions

Returns:

Nothing.

Example:

rehash

 

Updates all paths.

Example:

rehash("modules")

 

Updates the add-in modules path.

Remarks:

REFRESH is useful if a new module or new SPL folder is added to the system while DADiSP is running. REHASH updates the internal list of paths.

 

The modmain() function of each detected module is executed if "pathname" is "modules" or unspecified. This allows new modules to initialize properly if installed during a session.

See Also:

ADDSPLPATH

GETHOME

GETLABNAME

GETLABPATH

GETMISCPATH

GETSPLPATH

GETWORKSHEETNAME