Identifiers

<identifier>

── <letter> ─┬───────────────────────────┬─────────────────────────────┤
             │ ┌◄──────────────────────┐ │
             └─┴─ /62\ ─┬─ <letter> ─┬─┴─┘
                        └─ <digit> ──┘

Explanation

The following is a list of the types of identifiers:

  • Boolean identifier

  • Boolean constant identifier

  • File identifier

  • Integer identifier

  • Integer constant identifier

  • Label identifier

  • Real identifier

  • Real constant identifier

  • String identifier

  • String constant identifier

  • Subroutine identifier

  • Task identifier

Identifiers all share the identifier syntax. Identifiers can serve as names for variables, constant identifiers, subroutines, and statements.

Some combinations of characters form words that have a special meaning to the WFL compiler. These words cannot be used as identifiers, or can only be used as identifiers in certain contexts. Refer to Reserved Words, Predefined Words, and Keywords for further information.

Examples

A
Z123
ABC123