Compile-Time Operations

Visual Fortran does as many operations as possible at compile time rather than having them done at run time.

Constant Operations

Visual Fortran can perform many operations on constants (including PARAMETER constants):

Algebraic Reassociation Optimizations

Visual Fortran delays operations to see whether they have no effect or can be transformed to have no effect. If they have no effect, these operations are removed. A typical example involves unary minus and .NOT. operations:

  X = -Y * -Z           ! Becomes: Y * Z