Reserved keywords
What is a reserved keyword?
Reserved keywords are special identifiers, built into the compiler, which can’t be used by the user as a variable name, as they instead serve a special function (for example, starting a specific statement).
Reserved keywords in C²
Reserved keywords in C² are:
ifinorandfornilnewtryintboolcaseelseenumfuncselftruebreakcatchdeferfalsefloatspawnthrowuntilwhileimportrepeatreturnstringstructswitchdefaultprivatecontinuefunctionoptional
These can’t be used as:
- Variable names.
- Function names.
- Structure names.
- Field names.
- Argument names.