PROGLINE

n = PROGLINE

Returns the current program line number.

Print "first line of program"
print PROGLINE

' Output:
' first line of program
' 2