Statement EXPORTED: Foundation

Makes methods and member variables globally visible.

Syntax
EXPORTED:
Description

The keyword EXPORTED: determines the visibility attribute for subsequently declared member variables and methods within the class declaration. The member variables and methods which are declared after EXPORTED: have global visibility and can be examined or called from anywhere in the program.

Examples
EXPORTED: implementation
// The example illustrates how the visibility attribute is 
// defined with a class declaration. 

CLASS classA 
  VAR varA                         // Visibility is HIDDEN: 

  EXPORTED: 
  VAR varB, varC                   // Globally visible 
  METHOD methodA, methodB 

  PROTECTED: 
  VAR varD, varE                   // Visible only in methods 
  METHOD methodC, methodD 

ENDCLASS 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.