> In the following snippet, what is better form for representing a
> true statement in the CFIF (ie. "YES", true, or 1)?
>
> <cfset arr_fruit=ArrayNew(1)>
> <cfset arr_fruit[1]="apple">
> <cfset arr_fruit[2]="banana">
> <cfset arr_fruit[3]="pear">
> <cfset edible = ArrayAppend(arr_fruit,"pineapple")>
>
> <!--- <cfif edible IS "YES"> --->
> or
> <!--- <cfif edible IS true> --->
> or
> <cfif edible IS 1>
<cfif edible>
Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

