LINENO()

From Recital Documentation Wiki
Revision as of 12:09, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Error Handling and Debugging


Purpose

Function to return number of the next line


Syntax

LINENO()


See Also

MESSAGE, MESSAGE(), PROCLINE(), PROGRAM(), RESUME, SET DEBUG, SET DOHISTORY, SET ECHO, SET HISTORY, SUSPEND


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."


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer