Difference between revisions of "SET DEVELOPMENT"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET DEVELOPMENT=
 
 
 
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Determine which files need to be compiled
 
Determine which files need to be compiled
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
COMPILE, SET COMPILE, DO, SET PSHARE
+
[[COMPILE]], [[DO]], [[SET COMPILE]], [[SET PSHARE]]
  
  
 
==Description==
 
==Description==
When DEVELOPMENT is set ON, the modification date and time of the program source file is compared with the modification and time of the compiled object file (.dbo) when a program is executed.  This prevents an outdated object file from executing.  If the .dbo file is older than its source program file, the source file is automatically recompiled. If SET DEVELOPMENT is OFF then existing ’.dbo’ files will be executed even if there is a corresponding source file that is newer.  For source files that have no corresponding ’.dbo’ file, one will be created.  By default, DEVELOPMENT is ON.
+
When DEVELOPMENT is set ON, the modification date and time of the program source file is compared with the modification and time of the compiled object file (.dbo) when a program is executed.  This prevents an outdated object file from executing.  If the .dbo file is older than its source program file, the source file is automatically recompiled.
 +
 
 +
If SET DEVELOPMENT is OFF then existing ’.dbo’ files will be executed even if there is a corresponding source file that is newer.  For source files that have no corresponding ’.dbo’ file, one will be created.  By default, DEVELOPMENT is ON.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set compile on
 
set compile on
 
set development on
 
set development on
do prototype</pre>
+
do prototype</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|DEVELOPMENT]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]

Latest revision as of 15:35, 23 November 2009

Purpose

Determine which files need to be compiled


Syntax

SET DEVELOPMENT ON | OFF | (<expL>)


See Also

COMPILE, DO, SET COMPILE, SET PSHARE


Description

When DEVELOPMENT is set ON, the modification date and time of the program source file is compared with the modification and time of the compiled object file (.dbo) when a program is executed. This prevents an outdated object file from executing. If the .dbo file is older than its source program file, the source file is automatically recompiled.

If SET DEVELOPMENT is OFF then existing ’.dbo’ files will be executed even if there is a corresponding source file that is newer. For source files that have no corresponding ’.dbo’ file, one will be created. By default, DEVELOPMENT is ON.


Example

set compile on
set development on
do prototype


Products

Recital Server, Recital