Operators and Keywords
This page covers the symbols and reserved words the tokenizer already understands.
Back to Language Reference
Operators and Punctuation
- Arithmetic: +, -, *, /, ^
- Comparison: =, <>, <, <=, >, >=
- Grouping and access: (, ), [, ], ., \
- Separators: , and :
- : is currently used for label statements.
- [ and ] are used for index expressions.
- ( and ) are used for grouping, calls, parameter lists, and Dim dimensions.
- . and \ are both used for member access.
Keywords
These words are recognized as keywords by the tokenizer.
- And
- As
- Case
- Const
- Dim
- Do
- Else
- ElseIf
- End
- Enum
- Field
- For
- Function
- Goto
- Import
- If
- Loop
- Mod
- New
- Next
- Not
- Or
- Repeat
- Rem
- Return
- Select
- Step
- Sub
- Then
- To
- Type
- Until
- Wend
- While
Some of these only make sense as part of larger statements, not on their own.
Type, Field, and New are used by the user-defined type system.