So therefore:
Santa > Gandolf
But we should really scope those variables, yes?
<cfif variables.Santa GT variables.Gandolf>
<cfset variables.fillstockings = 1>
<cfelse>
<cfset variables.BalrogDoom = 1>
</cfif>
-----Original Message-----
From: Phillip Vector [mailto:[email protected]]
Sent: Friday, January 14, 2011 4:35 PM
To: cf-newbie
Subject: Re: Assign Judge and Rate
There is that as well. :)
One time, I read an article that suggested that you name your
variables as something that means something, but not defining the
variable.
For example..
<cfset Santa=39>
<cfset Gandalf=30>
<cfset Raptor=Gandalf+Santa>
Really mess with the future developers heads that way. :)
But I like to think that what goes around comes around. So I don't do this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5208
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm