SET OPTLOG

From Recital Documentation Wiki
Revision as of 04:05, 12 March 2009 by Barrymavin (Talk | contribs)

Jump to: navigation, search

SET OPTLOG

Class

Environment


Purpose

To specify whether logical expression optimization should take place


Syntax

SET OPTLOG ON | OFF


See Also

DB_OPTLOG


Description

The SET OPTLOG command is used to specify whether logical expression optimization should take place or not.

Example

  1. // No error, even if crash() function does not exist
  2. set optlog on
  3. ? .F. and crash()
  4.  
  5. // Gives error if crash() function does not exist
  6. set optlog off
  7. ? .F. and crash()
  8.  
  9. // No error, even if crash() function does not exist
  10. set optlog on
  11. ? .T. or crash()
  12.  
  13. // Gives error if crash() function does not exist
  14. set optlog off
  15. ? .T. or crash()

Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer</source>