Meta Data Access Restriction

Metaschema objects used in a method are identified at compile time. Consequently, you cannot identify a metaschema object by using an object reference, as shown in the following example.

vars
    cust : Customer;
begin
    cust := Customer.firstInstance;
    write cust::address.length;        // Error, as invalid syntax
    write Customer::address.length;    // Correct
end;

The following usages are allowed.

ClassName::method           // if the method is valid for browserExecution
ClassName::property         // if the property is valid for browserExecution

The following usages are not allowed.

ClassName::Constant
ClassName::property.xxx     // where ".xxx" attempts to de-reference
ClassName::method.xxx       // the property or method further