Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tempdir

Returns the temporary directory path.

Syntax

  • tempdir()
  • p = tempdir()

Output argument

  • p - a string: current temporary directory.

Description

Returns the name of the host system’s directory for temporary files.

Example

r = tempdir()

See also

cd, dir.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET