Syntax:
PROPERTIES PUBLIC PROPERTIES PRIVATE VOLATILE PROPERTIES CONSTANT PROPERTIES STATIC
This instruction defines the attributes of following property (instance) variables, and therefore must precede the first METHOD instruction. A PROPERTIES instruction cancels previous PROPERTIES instructions (that is, the attributes specified on PROPERTIES instructions are not cumulative).
There must be at least one keyword option on PROPERTIES. Allowed options are INHERITABLE (the default, to encourage encapsulation), PRIVATE, and PUBLIC, which have the same meaning as on the METHOD instruction, and also:
The VOLATILE keyword should be considered experimental; at present, it is only applicable to the Java environment.
[ previous section | contents | next section ]
From 'netrexx.doc', version 1.00.
Copyright(c) IBM Corporation, 1996, 1997. All rights reserved. ©