Isreadonly
This built-in property returns whether the properties of an instance cannot or can be modified. It can be tested but tot modified.
MY_INSTANCE.isReadonly
is 1, properties cannot be modified. Any modification attempt will raise an error with error code 143.MY_INSTANCE.isReadonly
is 0, properties can be modified and accessors will be triggered. This is the default value when a class is instantiated.MY_INSTANCE.isReadonly
# MYCUSTOMER is an instance for CUSTOMER class# The UPDATE_CUSTOMER call would raise a 143 error if isReadonly is not 0If MYCUSTOMER.isReadonly=0Call UPDATE_CUSTOMER(MYCUSTOMER)Endif
Instance, NewInstance, FreeInstance, FreeGroup, Developer Guide Classes