Heya,

In coldfusion putting pound signs around a variable outputs/evaluates the 
variable and gives you the value of the variable.


Cheers,
George

-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nedlud
Sent: Tuesday, September 02, 2008 3:35 PM
To: cfaussie
Subject: [cfaussie] variables in cf


Hi all,

I've been in my current job for just over a year, which means I've
been using coldfusion for just over a year, and I'm still learning how
to use it.

One thing that I keep tripping over is how to handle variables. I'm
forever forgetting the goofy ## bits around them.

But it just occurred to me that is (or might be) a simple way for me
to remember.

## goes around variables passed by value.

Variables passed by reference have no ##.

Is this correct? Or am I just going to confuse myself more by thinking
this way?


The information contained in this e-mail communication may be confidential. You 
should only read, disclose, re-transmit, copy, distribute, act in reliance on 
or commercialise the information if you are authorised to do so. If you are not 
the intended recipient of this e-mail communication, please immediately notify 
the sender by e-mail and then destroy any electronic or paper copy of this 
message. Any views expressed in this e-mail communication are those of the 
individual sender, except where the sender specifically states them to be the 
views of Ninemsn Pty Limited. Ninemsn Pty Limited does not represent, warrant 
or guarantee that the integrity of this communication has been maintained or 
that the communication is free of errors, virus or interference.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to