User Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:gendoc:gramatica [2019/12/27 19:44]
joebordes
en:gendoc:gramatica [2019/12/27 19:45] (current)
joebordes
Line 43: Line 43:
     * negative case of **{foreach...}**     * negative case of **{foreach...}**
   * **{foreach entity [field1 op value1 && field2 op value2 || field3 op value3)}...{/​foreach}**   * **{foreach entity [field1 op value1 && field2 op value2 || field3 op value3)}...{/​foreach}**
-    * advanced conditions on fields with fields and operations ​<​code>​(=,>,<,>​=,<​=,​!=)</​code> ​and limited logical connectors || (or) and && (and)+    * advanced conditions on fields with fields and operations ​%%(=,>,<,>​=,<​=,​!=)%% and limited logical connectors || (or) and && (and)
   * **iteration**:​ inside the {foreach} blocks you can reference a special variable called {iteration} whose value will be that of the current loop iteration. This can be useful to enumerate the elements or to print conditional text based on the iteration. See [[:​en:​gendoc:​gendocejemplos|Examples]].   * **iteration**:​ inside the {foreach} blocks you can reference a special variable called {iteration} whose value will be that of the current loop iteration. This can be useful to enumerate the elements or to print conditional text based on the iteration. See [[:​en:​gendoc:​gendocejemplos|Examples]].
   * **{include Document_Num}**   * **{include Document_Num}**