Harbour Reference Guide

 

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
      function Test()
         ? ProcLine( 0 )
         ? ProcName( 2 )
      return nil
Status

Ready

Compliance

PROCLINE() is fully CA-Clipper compliant.

Files

Library is vm

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30