Difference between revisions of "PUBLIC"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
==Purpose== | ==Purpose== | ||
Line 10: | Line 9: | ||
==See Also== | ==See Also== | ||
− | [[DECLARE]], [[DIMENSION]], [[PARAMETERS]], [[PRIVATE]], [[SET COMPATIBLE]] | + | [[DECLARE]], [[DIMENSION]], [[LOCAL]], [[PARAMETERS]], [[PRIVATE]], [[SET COMPATIBLE]], [[STATIC]] |
Revision as of 15:18, 3 November 2009
Purpose
Declare public memory variable
Syntax
PUBLIC [<memvar-list>] | [<array>]
See Also
DECLARE, DIMENSION, LOCAL, PARAMETERS, PRIVATE, SET COMPATIBLE, STATIC
Description
The PUBLIC statement declares global memory variables or arrays. Memory variables or arrays that have been declared PUBLIC can be shared and modified by all procedures and programs. By default, any variables created at the Recital Terminal Developer development prompt are declared PUBLIC. A PUBLIC memory variable is initially declared as a logical, with a value of .F.. See DECLARE or DIMENSION for more details on array declaration.
Example
public i, j, k
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer