Difference between revisions of "SET ERRORVERSION"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 31: | Line 31: | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|ERRORVERSION]] | [[Category:Set_Commands|ERRORVERSION]] | ||
+ | [[Category:Error Handling and Debugging]] | ||
+ | [[Category:Error Handling and Debugging Set Commands]] |
Revision as of 16:16, 1 June 2009
Class
Error Handling and Debugging
Purpose
Cause numbered error.mem files to be created when an error occurs
Syntax
SET ERRORVERSION ON | OFF | (<expL>)
See Also
DB_ERRORDIR, ERRNO(), ERROR(), MESSAGE(), ON ERROR, SAVE ERROR
Description
If SET ERRORVERSION is ON when an error occurs, instead of creating an error.mem file, an error<version number>.mem is created. The <version number> will start at 0001 for the first error file created and will be incremented with each subsequent error.
If the environment variable DB_ERRORDIR is not defined, then the error files are created in the current directory, otherwise the error files will be created in the specified directory. This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, ERRORVERSION is set ON. If a value of .F. is returned, ERRORVERSION is set OFF. By default ERRORVERSION is OFF.
Example
set errorversion on
Products
Recital Mirage Server, Recital Terminal Developer