<< nelsonroot | Core | pause >> |
R = nfilename() |
R = nfilename('fullpath') |
R = nfilename('fullpathext') |
a string: the path of current function
R = nfilename() returns the name of the currently executing file.
nfilename() called from outside an nlf file returns an empty string.
With the input argument 'fullpathext', the string includes the directory part of the macro filename, and the filename extension.
With the input argument 'fullpath', the string includes the directory part of the macro filename, but not the extension.
mfilename is an alias on nfilename added for basic script compatibility.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET