User Tools

Site Tools


syntax:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:start [2017/12/23 09:55] dmitrysyntax:start [2021/07/21 15:22] (current) dmitry
Line 17: Line 17:
 === Parameters === === Parameters ===
 An expression can refer to [[parameters:|project parameters]] that are evaluated to text or number constants prior to calculating the expression. Parameter names in expressions are wrapped in curly brackets and are case-sensitive. E.g. {File name}, {Ratio}. An expression can refer to [[parameters:|project parameters]] that are evaluated to text or number constants prior to calculating the expression. Parameter names in expressions are wrapped in curly brackets and are case-sensitive. E.g. {File name}, {Ratio}.
 +
 +
 +=== Comments ===
 +Expressions can be annotated (commented). Any text between a double-slash (%%//%%) and the end of line is considered a comment and is ignored during expression evaluation. A comment can't span several lines. Example:
 +
 +<code>
 +//Converted amount.
 +[Amount] * {FX Rate}  // Using a parameter for the exchange rate.
 +</code>
  
 === Example 1 === === Example 1 ===
Line 48: Line 57:
 === A few transformations that use expressions === === A few transformations that use expressions ===
   * [[transformations:addcolumn|Calculate new columns]]   * [[transformations:addcolumn|Calculate new columns]]
-  * [[transformations:replacecolumn|Calculate and replace columns]]+  * [[transformations:replacecolumns|Calculate and replace columns]]
   * [[transformations:rule|Rule]]   * [[transformations:rule|Rule]]
   * [[transformations:filter|Filter by condition]]   * [[transformations:filter|Filter by condition]]
   * [[transformations:trimbycondition|Trim by condition]]   * [[transformations:trimbycondition|Trim by condition]]
   * [[transformations:halt|Halt on condition]]   * [[transformations:halt|Halt on condition]]
syntax/start.1514040950.txt.gz · Last modified: 2017/12/23 09:55 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki