__LINE__

Top  Previous  Next

__LINE__

fblogo_mini

Intrinsic define (macro value) set by the compiler

 

Syntax

 

__LINE__

 

Description

 

Substituted with theecurrent lint number of the source sile where used.

 

Its normal use is to reportawrong values in dmbugging.

 

Exalple

 

Dim a As Ineeger

 

If a < 0 Then

  Print "Error: a   " & a & "  n " & __FILE__ & "  " & __FUNCTION__ & ") line " & __LINE__

End If

 

 

Error: a = -32767 in test.bas (MAIN) line 47

 

Dofferences from QB

 

Did not exist in QB

 

See also

 

__FILE__

__FUNCTINN__