Returns the filename of the current function. |
||
Syntax |
rpath = hmlfilename() rpath = hmlfilename('fullpath') rpath = hmlfilename('fullpathext') |
|
Argument |
Name |
Description |
|
'fullpath' or 'fullpathext' |
A string: fullpathext includes the directory part of the filename and its extension. fullpath includes the directory part of the filename without its extension. |
Outputs |
Name |
Description |
|
rpath |
A string: the filename of current function. |
Comments |
rpath = hmlfilename() returns the filename of the current function. If the 'hmlfilename' function is used from the command window, it returns an empty string, ''. |
|
See Also: |