Difference between revisions of "CLOSE PROCEDURE"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=CLOSE PROCEDURE=
 
 
 
 
==Class==
 
==Class==
 
Applications
 
Applications
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[CLOSE]], [[CLOSE ALL]], [[CLOSE ALTERNATE]], [[CLOSE FORMAT]], [[CLOSE DATABASES]], [[DO]], [[SET PROCEDURE]]
+
[[CLOSE]], [[CLOSE ALL]], [[CLOSE ALTERNATE]], [[CLOSE DATABASES]], [[CLOSE FORMAT]], [[DO]], [[SET PROCEDURE]]
  
  

Revision as of 15:45, 27 April 2009

Class

Applications


Purpose

Close the procedure library file


Syntax

CLOSE PROCEDURE [<filename> | (<expC>)]


See Also

CLOSE, CLOSE ALL, CLOSE ALTERNATE, CLOSE DATABASES, CLOSE FORMAT, DO, SET PROCEDURE


Description

The CLOSE PROCEDURE command closes the procedure library named <filename>, or if no library is specified, all currently open procedure libraries. The <filename> can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. The <filename> is assumed to have a '.prg' extension unless otherwise stated.

Only procedures and functions declared with the SET PROCEDURE TO command are released with the CLOSE PROCEDURE command. Procedures and functions declared in the main program are left active. Up to a maximum of ten procedure files can be opened at one time when the ADDITIVE keyword is used on the SET PROCEDURE command.


Example

set procedure to yourlib
do yourproc
do yourproc2
close procedure


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer