Custom Functions

To create and view user-defined functions within Contract Express Author, click on the Dictionary Editor icon in the Contract Express tab in Microsoft Word. Then select the Functions option. Here you will see a list of existing functions that have been created.
To create a new function click on the plus icon on the Dictionary Editor toolbar and select New Function. Fill in the Name field and define the function within the Definition field. Parameters of a function are defined using a percentage sign (%) plus the number of the parameter.
For example, if we want to create a function that represents the VAT (Value Added Tax) at 20%, we will define the function as
%1 * 0.2
%1 represents the parameter to use. In this case it is referring to the first parameter but if we wanted to reference a 2nd or 3rd parameter we will use ‘%2’ or ‘%3’.