folder
directory
directory
Returns the current directory.
directory("nn")
Returns the directory part of name nn.
Example:
directory("../../dir/A.jpg");
returns ../../dir/
Option:
abs: returns name part
Example:
directory("../../dir/A.jpg")abs;
returns A.jpg
directory("dir")ini
Builds object type directory , name dir and property name = list
of files of directory dir.
Options:
ini("eee"): only files *.eee
directory("dir")name
Returns the list of files of directory dir.
Options:
name(num): word number num (1 <= num <= np), with np = number of words of the list.
directory system
directory system
Returns the name of the current directory.
directory("env")system
Returns the name of the directory of the environment) containing the "help*", "demos*","outils*", etc..
direcrory("env")system="ddd"
Changes this name.
Example: directory("env")system="../env";
directory("ima")system
Returns the name of the directory datas base.
directory("ima")system="ddd"
Changes this name.
Example: directory("ima")system="../ima";
directory("exe")system
Returns the name of the directory of the executables.
direcrory("exe")system="ddd"
Changes this name.
Exemple: direcrory("exe")system="../exe";
Notes
The names of these directorys are defined in enva.h
See environment manual
See also