SET STRICTREAD

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.

Seealso

Set(), SET OPTIMIZE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.