p = modulepath(module_short_name)
p = modulepath(module_short_name, option)
| Paramètre | Description |
|---|---|
| module_short_name or 'nelson' | chaîne : nom court du module. Le module doit exister dans la session Nelson. |
| option | chaîne : 'etc', 'bin', 'root', 'builtin', 'tests'. |
| Paramètre | Description |
|---|---|
| p | chaîne : chemin ou sous-chemin du module. |
modulepath est une fonction d'aide qui renvoie le chemin racine d'un module ou un sous-répertoire.
modulepath('nelson') est équivalent à modulepath('nelson', 'root')
modulepath('nelson', 'bin') renvoie le chemin des exécutables de Nelson.
modulepath('nelson', 'builtin') renvoie le chemin des bibliothèques dynamiques de Nelson.
modulepath('core')
modulepath('core', 'root')
modulepath('core', 'etc')
modulepath('core', 'bin')
modulepath('core', 'builtin')
modulepath('core', 'tests')
modulepath('nelson', 'root')
modulepath('nelson', 'bin')
modulepath('nelson', 'builtin')
| Version | Description |
|---|---|
| 1.0.0 | version initiale |