NUMBER_CURRENT_LINE

NUMBER_CURRENT_LINE

RETURNS THE NUMBER OF CURRENT LINE

  • Type: System Variable
  • Parameter: 0
  • Group: Reference

ACTION

The system variable NUMBER_CURRENT_LINE returns the number of current line in the source, which is executed.

SYNTAX: NUMBER_CURRENT_LINE in an expression

USE

  • The system variable NUMBER_CURRENT_LINE is used to know the number of current line.

ERROR

  • None.

EXAMPLE

print number_current_line

SEE ALSO

-