User Tools

Site Tools


en:public:developer:template_system:tags:expression:caseof

Differences

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

Link to this comparison view

en:public:developer:template_system:tags:expression:caseof [2012/11/19 11:47]
admin [Parameters]
en:public:developer:template_system:tags:expression:caseof [2012/11/19 11:51] (current)
admin
Line 1: Line 1:
-===== <#CaseOf> =====+====== <#CaseOf> ======
  
 The purpose of the CaseOf is to allow the value of a variable or expression to control the flow of program execution via a multiway branch. The main reasons for using a CaseOf include improving clarity, by reducing otherwise repetitive coding The purpose of the CaseOf is to allow the value of a variable or expression to control the flow of program execution via a multiway branch. The main reasons for using a CaseOf include improving clarity, by reducing otherwise repetitive coding
Line 6: Line 6:
  
 ^ Name              ^ Mandatory ^ Description ^       ^ Name              ^ Mandatory ^ Description ^      
-| <html><span style="color:#008000">Expression</span></html>    | Yes       | An arbitrary expression (string or number). The tags in the expression are always evaluated in first |+| <html><span style="color:#008000">Expression</span></html>    | Yes       | An arbitrary expression (string or number). The tags in the expression are always evaluated first |
 | <html><span style="color:#008000">Statement_&lt;a&gt;</span></html> | No        | The content (html text or template filename) to return if the expression evaluate to <a> | | <html><span style="color:#008000">Statement_&lt;a&gt;</span></html> | No        | The content (html text or template filename) to return if the expression evaluate to <a> |
 | <html><span style="color:#008000">...</span></html>           | ...       | ... | | <html><span style="color:#008000">...</span></html>           | ...       | ... |
en/public/developer/template_system/tags/expression/caseof.1353311220.txt.gz ยท Last modified: 2012/11/19 11:47 by admin