Difference between revisions of "NETERR()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 22: Line 22:
 
<code lang="recital">
 
<code lang="recital">
 
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
 
on error do badfile
 
on error do badfile
Line 35: Line 35:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Functions]]

Revision as of 14:58, 2 June 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