PROCLINE()
Gets the line number of the current function on the stack.
Syntax
PROCLINE( <nLevel> ) --> <nLine>
Arguments
<nLevel> is the function level required.
Returns
<nLine> The line number of the function that it is being executed.
Description
This function looks at the top of the stack and gets the current line number of the executed function if no arguments are passed. Otherwise it returns the line number of the function or procedure at <nLevel>.
Examples
See Test
Tests
PROCEDURE Main() ? ProcLine( 0 ) ? ProcName( 2 ) RETURN
Compliance
Clipper
Files
Library is vm
Seealso
PROCNAME(), PROCFILE()
Pingback: Harbour All Functions – P | Viva Clipper !
Pingback: Harbour hvm Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !