Difference between revisions of "LINENO()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 19: | Line 19: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category:Error Handling | + | [[Category:Error Handling]] |
− | + |
Latest revision as of 10:18, 4 February 2013
Contents
Purpose
Function to return number of the next line
Syntax
LINENO()
See Also
Description
The LINENO() function returns the number of the next command line to be executed in a program, procedure or UDF. This function can be used with ON ERROR routines to return the line number causing the error.
Example
m_lineno = lineno() dialog box "The line is # &m_lineno."