SET DEVELOPMENT

From Recital Documentation Wiki
Jump to: navigation, search

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