Subversion Repositories wimsdev

Rev

Rev 15706 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +jump+
  2. tit:if
  3. type:$type_exec
  4. syntax:!if ``string1 relation string2''<br>\
  5. $    ... (multi-line content)<br>\
  6. $   [!else]<br>\
  7. $   ... (multi-line content)<br>\
  8. $ !endif
  9. mean:Conditional branching: execute the multi-line content between ``!if'' line and ``!endif'' line \
  10.   (or between ``!if'' line and ``!else'' line if ``!else'' is present) \
  11.   if ``relation'' is verified, and the potential lines between ``!else'' line and ``!endif'' line \
  12.   if  ``relation'' is not verified.\
  13.   The leading and trailing spaces of ``string1'' and ``string2'' \
  14.   will be stripped before making comparisons.
  15.