Difference between revisions of "SET OPTLOG"
From Recital Documentation Wiki
Barrymavin (Talk | contribs) (→Example) |
Barrymavin (Talk | contribs) (→Example) |
||
Line 26: | Line 26: | ||
set optlog on | set optlog on | ||
? .F. and crash() | ? .F. and crash() | ||
+ | |||
// Gives error if crash() function does not exist | // Gives error if crash() function does not exist | ||
set optlog off | set optlog off | ||
Line 33: | Line 34: | ||
set optlog on | set optlog on | ||
? .T. or crash() | ? .T. or crash() | ||
+ | |||
// Gives error if crash() function does not exist | // Gives error if crash() function does not exist | ||
set optlog off | set optlog off |
Revision as of 03:58, 12 March 2009
Contents
SET OPTLOG
Class
Environment
Purpose
To specify whether logical expression optimization should take place
Syntax
SET OPTLOG ON | OFF
See Also
Description
The SET OPTLOG command is used to specify whether logical expression optimization should take place or not.
Example
// No error, even if crash() function does not exist set optlog on ? .F. and crash() // Gives error if crash() function does not exist set optlog off ? .F. and crash() // No error, even if crash() function does not exist set optlog on ? .T. or crash() // Gives error if crash() function does not exist set optlog off ? .T. or crash()
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer</source>