This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Export Codes : Export Code Types : Conditional Mark-up : ^endIf^ | aTbRef Site Map |
^endIf^ |
Code Type: | Conditional Mark-up |
Code Scope of Action: | n/a |
^endIf^
Indicates the end of the alternatives indicated by the ^if( condition)^ statement. This closing statement is not mandatory if there is no ^else^ branch to the resulting actions. thus the following are acceptable alternatives:
^if(condition)do stuff^
^if(condition)do stuff^^endIf^
For the next test a closing ^endIf^ is mandatory:
^if(condition)do stuff^^else^do other stuff^endIf^
Up: Conditional Mark-up | |
Previous: ^else^ | Next: ^if( condition )^ |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]