Difference between revisions of "NETERR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 23: Line 23:
 
procedure badfile
 
procedure badfile
 
if neterr()
 
if neterr()
  set message to "File not available now."
+
    set message to "File not available now."
 
endif
 
endif
 
return
 
return

Revision as of 11:00, 23 March 2009

Class

Error Handling and Debugging


Purpose

Function to return .T. if a table could not be shared


Syntax

NETERR()


See Also

ON ERROR, SET CACHELOAD, SET DCACHE, SET EXCLUSIVE, USE, USED()


Description

The NETERR() function will return .T. if a table could not be shared. This function must be used in conjunction with the ON ERROR command.


Example

procedure badfile
if neterr()
    set message to "File not available now."
endif
return
on error do badfile
use patrons


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer