Iteration (TQL Param): Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Param TQL|suppresscategory=true|allowselflinks=true| <onlyinclude> {{Param TQL|tabletype=row|attribute=ITERATION|type={{Boolean}}|description=Query only executes when the current Iteration matches this value|polygon=false|}} </onlyinclude> }} {{article end |notes= * When false, only Buildings that are not part of the road system are considered. }} {{TQL param nav}}" |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Param TQL|suppresscategory=true|allowselflinks=true| | {{Param TQL|suppresscategory=true|allowselflinks=true| | ||
<onlyinclude> | <onlyinclude> | ||
{{Param TQL|tabletype=row|attribute=ITERATION|type= | {{Param TQL|tabletype=row|attribute=ITERATION|type=positive integer|description=Query only executes when the current [[Simulation Core|Iteration]] matches this value|polygon=false|}} | ||
</onlyinclude> | </onlyinclude> | ||
}} | }} | ||
Line 7: | Line 7: | ||
{{article end | {{article end | ||
|notes= | |notes= | ||
* | * Queries with these clauses are '''only''' executed when the current [[Simulation Core|Iteration]] matches the value of this clause. | ||
* If the current Iteration is not equal to the value of this clause, a cell in an [[Excel]] with this query is not written to. This behavior makes it different from other queries, which generally write a default value of 0. | |||
* The same holds for update queries, which are also only executed when the iteration matches the value of this clause, and are ignored otherwise. | |||
}} | }} | ||
{{TQL param nav}} | {{TQL param nav}} |
Latest revision as of 08:38, 20 March 2025
Param | Type | Description | Limits search polygon |
---|---|---|---|
ITERATION | positive integer | Query only executes when the current Iteration matches this value | false |
Notes
- Queries with these clauses are only executed when the current Iteration matches the value of this clause.
- If the current Iteration is not equal to the value of this clause, a cell in an Excel with this query is not written to. This behavior makes it different from other queries, which generally write a default value of 0.
- The same holds for update queries, which are also only executed when the iteration matches the value of this clause, and are ignored otherwise.