[ Main Menu ] [ Extension Tools Menu ] [ Basic Edition Menu ]

<iIF>, <iELSE>, </iIF> Tags

[ALIAS="<alias>"] ( ) Pro Edition
</iIF [ALIAS="<alias>"]> ( ) Pro Edition
Depending on COND, either of the clauses bracketed by the IF ELSE or ELSE ENDIF may be the result of the resolution. The ELSE tag is optional and the ELSE clause resolves to nothing if it is not present. TRUE is any of the following strings: TRUE, true, T, t, YES, yes, Y, y, 1, SUCCESS, success, S, s, OR if the numeric value does not equal 0. Anything may follow any of the sequences above and still mean true. Everything else is FALSE. The ALIAS directive allows the nesting of iIF statements and is available in the Pro and Enterprise Editions. The NOTCOND clause can be used to check whether a condition is FALSE.
Usage This is used to carry out many logical statements (multiple usage is allowed Nesting of these statements is permitted in the Professional and Enterprise Editions only. The iCASE tag can also be used for situations that have a lot conditions to check.
Notes If there is no /iIF an error will be generated. Theoretically, a single /iIF on one page with multiple <iIF> tags will not generate an error but the results of a page constructed in this manner is unpredictable.
Resolution Clauses bracketed by IF ELSE or ELSE ENDIF

iiF example
Example Source Code