Difference between revisions of "SET DEVELOPMENT"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Determine which files need to be compiled
 
Determine which files need to be compiled
Line 29: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category: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