Winteracter includes a Fortran pre-processor, WPP.

WPP may prove useful to those who need to target multiple platforms/compilers or generate multiple program configurations. Unlike a macro pre-processor, WPP uses standard Fortran comment lines to identify pre-processor conditions and condition dependent code. Hence, the original source code and any generated code remains fully standard conforming, allowing direct compilation.

WPP is supplied in two alternative forms:

  • A version is built into WiDE, allowing code to be pre-processed transparently as part of the compilation process. WiDE also provides a GUI interface to WPP under the Fortran Tools menu, for the purpose of 'one-off' pre-processing.
  • A command line version of WPP allows it to be used in batch procedures or shell scripts.

The source code syntax is extremely simple, providing a quick and convenient solution to a common problem.

Click here to return to Visual Tools page.