Automatic Substitutions

When developing units/forms, the user frequently inputs same-type structures (procedures, functions, cycles, etc.) in the macro body. They generally consist of language keywords and various names. To decrease the amount of manual code input, the Fore language allows for automatic substitution of such structures. See below the list of operations that leads to automatic substitutions.

Namespaces

Classes

Interfaces

Enumerations

Procedures

Functions

Properties

The Repeat...Until cycle

The For...End For cycle

The For Each...End For cycle

The While...End While cycle

The With...End With operator

The Select...End Select conditional operator

The If...End If conditional operator

The Try...End Try exception handling operator

XM comment

The Fore language also implements the automatic substitution of all language keywords: the keywords are written in capital letters with the first letter written in upper case, they are highlighted in blue by default.

See also:

Filling With Code