Member attributes: Native
This attribute specifies the kind of language the corresponding method is implemented in.
Syntax
true
false
Discussion
The attribute Native informs the Chora compiler about the syntax used in the implementation of a particular method, slot method, onget method or onset method. If this attribute is false the method is considered as being implemented in the platform-independent Chora language. In turn, if this attribute is true, then the method is considered as containing code written exclusively in the language of the particular target system (e.g. C or JavaScript).
CAUTION
The usage of the attribute Native is not recommended. This attribute exists for compatibility purpose with older Embedded Wizard versions and may be removed in the future. When you intend to implement native code, use the native statement instead.
Modify the attribute
To inspect or modify the value of an Native attribute, select first the affected method member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute: