:[EMAIL PROTECTED]
Sent: Sunday, December 10, 2006 6:43 PM
To: CF-Talk
Subject: RE: Bond sucks and cfreturn sucks
Dave, but even a value in CF usually works like so -- value=thevalue
That's not a value, it's an attribute - a name-value pair. I suppose they
could've provided an attribute
To: CF-Talk
Subject: RE: Bond sucks and cfreturn sucks
Dave, but even a value in CF usually works like so -- value=thevalue
That's not a value, it's an attribute - a name-value pair. I suppose they
could've provided an attribute for CFRETURN, but then it would be different
from return
To be fair, it was Will who was getting confused! :-)
Me? CoNfUsEd?
Never
:)
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
What is the Bond part of this in the subject line?
I had a few long islands before I posted this... oops! lol
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
lol! ;o) Bond as in Casino Royale? I dug that movie... not the bond that
got me started on the chain, but imo the best one yet. ;o)
Cheers,
Chris
Will Tomlinson wrote:
What is the Bond part of this in the subject line?
I had a few long islands before I posted this... oops! lol
Will
To: CF-Talk
Sent: Mon Dec 11 02:31:26 2006
Subject: Re: Bond sucks and cfreturn sucks
Dave, but even a value in CF usually works like so -- value=thevalue
I really don't understand the point of this whole discussion.
tag foo=bar
This passes the value bar in and assigns it to the variable foo
Ok, why does cfreturn go against the grain of all the cf tags??
cfreturn getproductreviews
why is there no attribute quotes in it? I always thought it looked a bit odd
and stuck out from other cf tag code.
Anyone wanna chime in on this ignorant question?
loL!
me
are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
-Original Message-
From: Will Tomlinson
To: CF-Talk
Sent: Sat Dec 09 22:27:38 2006
Subject: Bond sucks and cfreturn sucks
Ok, why does cfreturn go against the grain of all the cf tags
What do you mean by attribute quotes? What do you expect the syntax to
look like? Can you further explain what you mean?
Cheers,
Chris
Will Tomlinson wrote:
Ok, why does cfreturn go against the grain of all the cf tags??
cfreturn getproductreviews
why is there no attribute quotes in it? I
)
To: CF-Talk
Sent: Sat Dec 09 23:38:31 2006
Subject: Re: Bond sucks and cfreturn sucks
I would presume that since it is just returning a var and cfreturn is self
explanatory as in return this var - no need for quotes as you don't need
them in most places when referencing a var
howcome in cfinvoke this is what it looks like...
returnvariable=whatever
??
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
-
From: Will Tomlinson
To: CF-Talk
Sent: Sat Dec 09 22:27:38 2006
Subject: Bond sucks and cfreturn sucks
Ok, why does cfreturn go against the grain of all the cf tags??
cfreturn getproductreviews
why is there no attribute quotes in it? I always thought it looked a bit odd
and stuck out from other cf
: Robertson-Ravo, Neil (RX)
To: CF-Talk
Sent: Sat Dec 09 23:44:42 2006
Subject: Re: Bond sucks and cfreturn sucks
The invoke is a diff case as it is assigning a variable not returning.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom
As in cfset foo = now()
\
Hold it Neil guy! You're comparing cfreturn thevar to cfset foo = now()
There's my point! lol!
me
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
-Original Message-
From: Will Tomlinson
To: CF-Talk
Sent: Sat Dec 09 22:44:19 2006
Subject: Re: Bond sucks and cfreturn sucks
As in cfset foo = now()
\
Hold it Neil guy! You're comparing cfreturn thevar to cfset foo
Ok, why does cfreturn go against the grain of all the cf tags??
cfreturn getproductreviews
why is there no attribute quotes in it? I always thought it
looked a bit odd and stuck out from other cf tag code.
There is no attribute to quote. You can return a literal value:
cfreturn foo
I see Will's point. Not that I want it to change, but
cfreturn value=#myFoo# /
would be more consistent with other cf tags, such as
cfswitch expression=#myVar# (instead of just cfswitch myVar)
Matt
On 12/9/06, Dave Watts [EMAIL PROTECTED] wrote:
Ok, why does cfreturn go against the grain of
Sure, but we can also do something like:
cfset MyObject.SetSomeValue(AValue)
Notice there's no attribute = something syntax there either.
On 12/10/06, Will Tomlinson [EMAIL PROTECTED] wrote:
As in cfset foo = now()
\
Hold it Neil guy! You're comparing cfreturn thevar to cfset foo = now()
18 matches
Mail list logo