attribute - Raesangur/PascalScript_Reference GitHub Wiki
Attributes are keywords preceded by the #
symbol that can be attached preceding objects, classes or statements in order to specify special behavior or give more information about the construct. These can be used for optimization, more specific warnings, special properties or more, and are divided into many categories:
- Function Attributes
- Variable Attributes
- Class Attributes
- Statement Attributes
- General Attributes
- The
#address
attribute allows a variable, function, statement or object to be placed at a specific address in memory. This is used by the linker, and will generally be used for register access and interrupt functions.