Difference between revisions of "SET MAXDBO"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET MAXDBO=
 
 
 
 
==Class==
 
==Class==
 
Environment
 
Environment
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set maxdbo to 512
 
set maxdbo to 512
 
set compile on
 
set compile on
do main_prog</pre>
+
do main_prog</code>
  
  

Revision as of 15:13, 16 April 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