Function ProcName() Foundation
Retrieves a procedure or function name from the call stack.
ProcName( [<nCallStack>], [<nThreadId>] ) --> cFunctionName
The return value of ProcName() is a character string containing the name of a called function or procedure from the call stack.
The debug function ProcName() provides the name of a procedure or function from the call stack. The call stack contains an entry for each function, procedure, method or code block while the corresponding program code is being processed. When a code block is executed, ProcName() provides the name of the function in which the code block was defined with a prefixed "(B)".
The function ProcName() is used along with the function ProcLine() to determine the location of an error.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.