Difference between revisions of "SET MAXDBO"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=SET MAXDBO=
+
''Deprecated in Recital 10''
 
+
 
+
==Class==
+
Environment
+
 
+
  
 
==Purpose==
 
==Purpose==
 
Specify maximum compiled program size
 
Specify maximum compiled program size
 
  
 
==Syntax==
 
==Syntax==
Line 15: Line 9:
  
 
==See Also==
 
==See Also==
SET COMPILE, SET DEVELOPMENT, COMPILE, DO
+
[[COMPILE]], [[DO]], [[SET COMPILE]], [[SET DEVELOPMENT]]
  
  
Line 23: Line 17:
  
 
==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>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|MAXDBO]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]
 +
[[Category:Deprecated]]

Latest revision as of 16:20, 23 November 2009

Deprecated in Recital 10

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 Server, Recital