User Tools

Site Tools


parameters

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
parameters [2015/05/19 19:10] dmitryparameters [2015/05/19 19:29] dmitry
Line 2: Line 2:
 (available from version 1.6) (available from version 1.6)
  
-Parameters can be used to parametrize project calculation (e.g. file names, dates, multipliers and ratios in expressions, etc.).+Parameters can be used to parametrize transformations and expressions instead of file names in export/import transformations and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:|expression syntax]] for using parameters in expressions
 + 
 +Parameters are global for a projectwhich means that they are available for all tablesValue of a parameter is the same for all tables. Changing a parameter value doesn't automatically discard transformation results, but all new calculations will use the new value (where applicable).
  
 === Parameter editor === === Parameter editor ===
Line 12: Line 14:
   * **File name** - this parameter type is just like a text parameter but for convenience the input box has buttons for opening file browser and triggering absolute/relative paths   * **File name** - this parameter type is just like a text parameter but for convenience the input box has buttons for opening file browser and triggering absolute/relative paths
   * **Date** - it's a number parameter that supposed to indicate a date that can be chosen using a date picker (calendar)   * **Date** - it's a number parameter that supposed to indicate a date that can be chosen using a date picker (calendar)
-  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Although some restrictions apply -- expressions used for calculated parameters can't have field names and other calculated parameters.+  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Although some restrictions apply -- expressions used for calculated parameters can't have field names and other calculated parameters. Calculated parameters are evaluated automatically before running a project or calculating a transformation.
  
 === Full project runs === === Full project runs ===
parameters.txt · Last modified: 2021/01/14 19:50 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki