
Class
Error Handling and Debugging
Purpose
Function to return number of
the next line
Syntax
LINENO()
See Also
SET DOHISTORY,
SET DEBUG, SET ECHO,
SET HISTORY TO, MESSAGE,
SET HISTORY TO FILE, RESUME, SUSPEND,
SET HISTORY, PROGRAM(),
PROCLINE(), MESSAGE()
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
![]()
Copyright © 2008 Recital Corporation. All rights reserved.