prevnext   » SZS: Wiimms SZS Toolset » wkmpt: Wiimms KMP Tool » wkmpt calculate

wkmpt calculate

Calculate each expression and print the result to standard output. Many tools know the CALCULATE command.


1.   Syntax

wkmpt CALCULATE expression...

2.   Options

Option Param Description
-c --const list Define constant values, that are used by the internal encoders and by the numeric options as predefined global variables. This option allows a conditional encoding of text files. It can be used multiple times for multiple definitions.

The parameter is a comma separated list of terms and a term is 'name=expression'. The expression is calculated by the text parser.