xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET STRICTREAD

Toggles read optimization for database access.

Syntax

SET STRICTREAD on | OFF | ( <lOnOff> )

Arguments

on | OFF | ( <lOnOff> )
The option toggles whether or not internal memory buffers are used for loading field variables into memory variables. The default is OFF, or .F. (false). When set to ON or .T. (true), performance optimization is suppressed.

Description

SET STRICTREAD is part of xHarbour's optimization for database access. This is accomplished by means of internal memory buffers used to hold the contents of field variables. If field variables must be accessed that are held in a buffer already, no file access is required when SET STRICTREAD is set to OFF. This is the default and optimizes field access.

When SET STRICTREAD is set to ON, the contents of field variables are always read from disk.

Info

See also:Set(), SET OPTIMIZE
Category: Database commands , SET commands , xHarbour extensions
Source:rtl\set.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe