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;