ColdFusion variables may be incremented or decremented using simple assignments, for example, . But tag based assignments can’t be used within functions (you can’t call a tag inside a function call), and so ColdFusion also provides two functions that perform the same operations using function syntax – IncrementValue() increments a number by 1, DecrementValue() decrements by 1. And both can be used anywhere functions can be used. (Applies to: ColdFusion All)

Leave a Reply