Syntax Notation Conventions
From QB64 Wiki
- Syntax Notation Conventions used in this WIKI
- * Upper Case = KEYWORDS
- * Lower Case = parameter(s) or expression(s)
- * Brackets = [optional argument(s)]
- * Braces = {choice1 | choice2}
- Descriptions:
- Items in uppercase indicate BASIC or QB64 program keywords except for the Interrupt or Absolute built in statements.
- In QB64, keywords do not have to be capitalized, but they still cannot be used as variable or procedure names!
- Items in lowercase are variable placeholders for information (for example; a filename).
- Items in square brackets [ ] do not have to be used in the statement.
- Items in braces and vertical bars { | } indicate a choice between one or more items, you must choose one of them unless they are also enclosed in square brackets [ ].
- Three dots in a syntax indicate that the line of arguments can be continued indefinetly, like this:
- argument1, argument2, argument3, ...
- If code can be used in between two related statements (mainly block statements) then three dots vertically are used.
- Beginning KEYWORD
- .
- .
- .
- Ending KEYWORD
NOTE:
These conventions applied mainly to DOS but can be applied to other OS's also, and in particular this wiki. When the user is deemed to understand the syntax even without these conventions they are not always present.
