name of an entity
name
name("nnn")
Returns the last string of alpha characters of string nnn without extension.
Options:
abs: returns the last string of alpha numeric characters of string nnn without extension.
name: returns the name wothout directory.
Examples:
name("env/A123.jpg");
returns env/A
name("env/A123.jpg")abs;
returns env/A123
name name("env/A123.jpg");
returns A123
name name("env/A123.jpg")abs;
returns A123
name("x")="y"
Renames the external variable x in y
name func
Returns the executed function name ("main" in interactive mode).
name directory
name("nnn")directory("env")exp("exp")
Allows completing an innacurate name of a file:
name("env/A.ext")directory("env")exp("ext");
name("env/A")directory("env")exp("ext");
name("A.ext")directory("env")exp("ext");
name("A")directory("env")exp("ext");
Return the same result:
env/A.ext
name name
name name("nnn.eee")
Returns nnn.
See also format name.
name system
name system("../bmp")
Returns "..\bmp" (windows name).