Member attributes: Content

This attribute determines the content of a macro member.

Syntax

any‑text

Discussion

The attribute Content determines the text to evaluate by Chora compiler wherever the corresponding macro is found within the implementation of a method or an initialization expression. In such case, the original macro name is replaced in place by the specified content. The attribute can be initialized with any arbitrary, even empty text.

Modify the attribute

To inspect or modify the value of a Content attribute, select first the affected macro member. Thereupon, the attribute is listed in the middle area of Inspector: