Keywords
- Keywords are reserved words.
- Cannot be used as names for variables.
- Stored in
GAPInfo.Keywords.
- Let's use GAP to visualise the list of keywords.
gap> List(GAPInfo.Keywords);
[ "Assert", "Info", "IsBound", "QUIT", "TryNextMethod", "Unbind", "and",
"atomic", "break", "continue", "do", "elif", "else", "end", "false", "fi",
"for", "function", "if", "in", "local", "mod", "not", "od", "or", "quit",
"readonly", "readwrite", "rec", "repeat", "return", "then", "true",
"until", "while" ]
- There are also other reserved words such as
X, Z E,...