- Aug
- 2,799
- 144
In .btm files,
I use the _batchname internal variable in usage instructions.
For example;
I cannot do this in a Library function.
At present,
I am hard-coding the library function name;
For example,
in a library function called csx;
I would like to suggest an internal variable be created for use in library functions,
which returns the name of the function from which it is being called.
Joe
I use the _batchname internal variable in usage instructions.
For example;
Code:
iff %# eq 0 then
echo USAGE: %_batchname test.csx
quit
endiff
I cannot do this in a Library function.
At present,
I am hard-coding the library function name;
For example,
in a library function called csx;
Code:
set _libraryfunction=csx
iff %# eq 0 then
echo USAGE: %_libraryfunction test.csx
quit
endiff
I would like to suggest an internal variable be created for use in library functions,
which returns the name of the function from which it is being called.
Joe