curFunc: () -> string
curFunc returns the name of the function which it was called from as a string. If it is called from the command-line or from level 0 of a SALIERI program file, an empty string is returned. Together with curLine, curFunc can be used for monitoring the execution of SALIERI programs or for generating messages when implementing user-specific exception handling.
> f:= FUNC(0,`write("called from ", curFunc());´);
called from f
Result = ""
See also: curLine, FUNC.