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.0

initial version

Author

Allan CORNET

Last updated