Conditional s

is a core CFML tag – and is used in several different ways depending on the attributes specified. One type of is the conditional loop – a condition is specified in the CONDITION attribute, and will loop as long as the CONDITION evaluates to TRUE. There are two important usage notes to keep in mind when working with this kind of loop: 1) the CONDITION is evaluated before processing, so if it never evaluates to TRUE the loop will never execute, and 2) the evaluation occurs at the top of each loop, so if the condition becomes FALSE in the middle of the loop processing will continue until that iteration has completed. (Applies to: ColdFusion All)

Leave a Reply