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 revision
Previous revision
parameters [2020/11/27 17:28] dmitryparameters [2021/01/14 19:50] (current) dmitry
Line 2: Line 2:
  
 Parameters can be used to parameterize actions and expressions instead of action properties such as file names in export/import actions, and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:|expression syntax]] for using parameters in expressions. Parameters can be used to parameterize actions and expressions instead of action properties such as file names in export/import actions, and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:|expression syntax]] for using parameters in expressions.
 +
 +Also, parameters are used for arranging iterations (loops) and calling subroutines (e.g. other modules/projects).
  
 Parameters are global for a module, which means that they are available for all tables in that module. The value of a parameter is the same for all tables in a module. Changing a parameter value automatically (if Auto-run is on) causes recalculation of all actions that use the parameter. Parameters are global for a module, which means that they are available for all tables in that module. The value of a parameter is the same for all tables in a module. Changing a parameter value automatically (if Auto-run is on) causes recalculation of all actions that use the parameter.
Line 17: Line 19:
   * **Multiple choice** - used to pick one or several values from a pre-defined fixed list. It appears as a checklist.   * **Multiple choice** - used to pick one or several values from a pre-defined fixed list. It appears as a checklist.
   * **Checkbox** - parameter appears as a checkbox and is used to pick one of two predefined values.   * **Checkbox** - parameter appears as a checkbox and is used to pick one of two predefined values.
-  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Such expressions can refer to another parameters (calculated or not) but not to field names as parameters are global exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.+  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Such expressions can refer to other parameters (calculated or not) but not to field names because parameters are global and exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.
  
 === Module overview === === Module overview ===
Line 26: Line 28:
  
 === EasyMorph Server === === EasyMorph Server ===
-[[https://easymorph.com/server.html|EasyMorph Server]] also allows running projects with a different set of parameter valuesor prompt parameter values on every run.+[[https://easymorph.com/server.html|EasyMorph Server]] also allows running projects with a different set of parameter values or prompt parameter values on every run.
  
 === Command line execution === === Command line execution ===
-Parameter values can be provided from the command lineif needed. If a parameter value isn't provided then its default value is used. Calculated parameters can't be defined from command line. See the [[command_line|command line syntax]] for more details.+Parameter values can be provided from the command line if needed. If a parameter value isn't providedthen its default value is used. Calculated parameters can't be defined from the command line. See the [[command_line|command line syntax]] for more details.
  
 === Read also === === Read also ===
   * [[https://easymorph.com/learn/parameters.html|Turtorial: Parameters]]   * [[https://easymorph.com/learn/parameters.html|Turtorial: Parameters]]
parameters.txt · Last modified: 2021/01/14 19:50 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki