p = userpath()
userpath(dirname)
userpath('reset')
userpath('clear')
| Parameter | Description |
|---|---|
| dirname | an existing directory name |
| 'clear' | removes the first directory for current and next sessions of Nelson. |
| 'reset' | resets the first directory to the default for your platform. |
| Parameter | Description |
|---|---|
| p | string: the specified user path |
userpath modifies or displays userβs load path.
By default, userpath directory is platform-dependant:
Windows platforms: %USERPROFILE%/Documents/Nelson
Others platforms: $home/Documents/Nelson
It is possible to force userpath by define an environment variable: NELSON_USERPATH with an existing path.
path
userpath
| Version | Description |
|---|---|
| 1.0.0 | initial version |