Accessing Attribute Values
Intermediate Level
This topic is intended for intermediate programmers.
You can get the value of an objects attributes at compile time using the attribute access operator .@.
For example:
Attributes without an argument will have the value true if they are present, and false otherwise.
Attributes with an argument will return the value they contain if they are present, and false if they are not present.
While it is easy to get the value of an attribute, you can not use the same method to change the value of an attribute.
TODO:
Place the actual error message here
Because attributes are considered immutable, modifying them at compile time is delegated to compiler directives for meta programming. See #set_attribute.