Never mind, I have a fix to it.

> calculation and dynamic evaluation:
>
> <cfparam name="v" default="0">
>
> <cfset item1 = "5">
> <cfset item2 = "10">
> <cfset oper = "*">
>
> <cfset v = Evaluate(item1 oper item2)>
>
> the above would fail while the line below (without dynamic evaluation)
> won't.
>
> <cfset v = 5 * 10>
>
> I guess, CF fails to evaluate/ignore "*" and the like, so, it breaks
> right here.  Fix, alternative?  Where am I?  
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to