Difference between revisions of "SET MAXDBO"

From Recital Documentation Wiki
Jump to: navigation, search
Line 31: Line 31:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|MAXDBO]]
 
[[Category:Set_Commands|MAXDBO]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]

Revision as of 11:07, 2 June 2009

Class

Environment


Purpose

Specify maximum compiled program size


Syntax

SET MAXDBO TO (<expN>)


See Also

COMPILE, DO, SET COMPILE, SET DEVELOPMENT


Description

The SET MAXDBO set command is used to specify the maximum compiled program size. The expression <expN> should be set to 4x the required maximum compiled file size in kilobytes. The default value is 256 , giving a maximum compiled file size of 65536 bytes. If the MAXDBO setting is not sufficiently high, then an error will occur when a program is compiled manually or automatically. Automatic compilation takes place if SET COMPILE and SET DEVELOPMENT are ON when a program is run.


Example

set maxdbo to 512
set compile on
do main_prog


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer