Please enable JavaScript to view this site.

In Combinum, you can write rules and formulas to perform calculations, trigger events and compose texts. This is done using expressions.

Expressions are used in all parts of Combinum, for example to constrain parameters and dynamically generate bill of materials, price lists, graphics, and reports.

 

An expression can consist of operators, functions, variables, and constants. The variables can be parameters and attributes.

Examples

a * (b + 1)

Performs a calculation using the variables a and b that can be either parameters or attributes.

 

Model = Model.[X]

Returns true if the parameter Model has the value X.

 

City[SelectedCity; City.Latitude]

Looks up the latitude of a city in a dictionary (table) based on the variable SelectedCity.

 

ToString(Now();"dd/MM/yyyy")

Gets the current date and time and converts this to a string that is formatted as  dd/MM/yyyy.

Remarks

The single equal sign "=" is used for comparison of two values to determine if they are equal, i.e., not for setting a variable. Setting parameters and attributes is done in other ways.

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC