=   variable assignment
== comparison operator (like <, >, <=, >=, !=)

one sets a value.  one compares value1 to value2

On 4/12/06, Everett, Al (NIH/NIGMS) [C] <[EMAIL PROTECTED]> wrote:
> Why is it
>         variable=foo
> and
>         if (variable==foo)
> in JavaScript?
>
> -----Original Message-----
> From: Mike Kear [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 12, 2006 10:49 AM
> To: CF-Talk
> Subject: Re: adobe certification site
>
> The one that annoys me is the use of "eq" in a CFIF, but "=" in a
> CFSET.    Does anyone know if there is a reason for the difference, or
> is it that they were written by different people or something?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237527
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to