next up previous contents
Next: Iterations over expressions Up: User-defined Answer Formats Previous: Simple expressions in patterns

Pre-defined variables

The following variables can be used in the head, tail, and pattern of an answer format. They do not refer to the variable this.

{user}
outputs the user name of the current transaction; typically has the structure name@address

{transactiontime}
the time when the current transaction was started; has format yyyy/mm/dd hh:mm:ss and is based on Greenwhich Mean Time

{cb_version}
the version number of ConceptBase

{cb_date_of_release}
the version number of ConceptBase

Moreover, when the current transaction was a call of a query like MyQuery[v1/param1,...] then {param1} will be evaluated to v1. This makes all parameter substitutions of a query call available to answer formatting.



ConceptBase Team