--- language: ColdFusion contributors: - ["Wayne Boka", "http://wboka.github.io"] filename: LearnColdFusion.cfm --- ColdFusion is a scripting language for web development. [Read more here.](http://www.adobe.com/products/coldfusion-family.html) ```ColdFusion HTML tags have been provided for output readability " --->
Set myVariable to "myValue"
Set myNumber to 3.14
Display myVariable:
Display myNumber:
Set myArray1 to an array of 1 dimension using literal or bracket notation
Set myArray2 to an array of 1 dimension using function notation
Contents of myArray1
Contents of myArray2
1 + 1 =
10 - 7 =
15 * 10 =
100 / 5 =
120 % 5 =
120 mod 5 =
Is 1 eq 1?
Is 15 neq 1?
Is 10 gt 8?
Is 1 lt 2?
Is 10 gte 5?
Is 1 lte 5?
Is 1 == 1?
Is 15 != 1?
Is 10 > 8?
Is 1 < 2?
Is 10 >= 5?
Is 1 <= 5?
Condition to test for: "
Index equals
Set myArray3 to [5, 15, 99, 45, 100]
Index equals
Set myArray4 to ["Alpha", "Bravo", "Charlie", "Delta", "Echo"]
Index equals
Set myArray5 to [5, 15, 99, 45, 100]