GLBasic User Manual

Main sections

CODELINE()

line% = CODELINE%()



Returns the line number of the GLBasic input file.

PRINT "CODELINE Example program.",0,0
PRINT "CODELINE = "+CODELINE(),0,10
SHOWSCREEN
MOUSEWAIT


Output:
CODELINE Example program.
CODELINE = 2

See also...