Example 3 illustrates the usage formualas and $IF statements.

Explanation:

I always have difficulties in using the different functions, especially after
some days not using them.
The formula editing allows to write the formulas in a conventional way, and 
they gets translated to the VDS syntax.


Action:

1. Run the "MACRO.EXE" (ADD-in Tools)

2. Start "PRECOMPILE" to get a translated version.

3. Run EXAMPLE3.DSC (PF9)
   You get some info screens to show, that it works