name


name of an entity

name
directory
message
name name

name

name("nnn")

Returns the last string of alpha characters of string nnn without extension.
Examples:
name("ABCD"); returns ABCD
name("ABCD123"); returns ABCD
name("A\B/C3D123.bmp"); returns A\B/C3D

name name("nnn")

Returns the last string of alpha numeric characters of string nnn without extension.
Examples:
name("ABCD"); returns ABCD
name("ABCD123"); returns ABCD123

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.