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

userdir

Returns the current user's path.

Syntax

  • userdir()
  • p = userdir()

Output argument

  • p - a string: current user directory.

Description

Returns the name of the user's directory.

Example

r = userdir()

See also

cd, dir, tempdir.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET