Function ProcLine() Foundation
Determines current line number in the source code.
ProcLine( [<nCallStack>], [<nThreadId>] ) --> nSourceCodeLine
The return value of ProcLine() is the line number in the source code file (PRG file) which contains the executing function or procedure. If the Xbase++ application was compiled with the compile switch /L, no line numbers are inserted into the OBJ file and ProcLine() always returns zero.
The debug function ProcLine() provides the program line in the source code file of the current line of code. When a code block is executed, ProcLine() provides the line in the PRG file where the code block was defined.
The function ProcLine() is used along with the function ProcName() 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.