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
Last revisionBoth sides next revision
syntax:start [2017/12/23 09:55] dmitrysyntax:start [2020/04/28 09:26] 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 ===
syntax/start.txt · Last modified: 2021/07/21 15:22 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki