>- see footer for list info -<
Errrr... yeah... it would!!!! (<---<< four exclamation marks!)
Comment out each of the cfsets one at a time.
<cfset VARIABLES.myVar = "Hella">
<cfset URL.myVar = "Cool">
<cfset FORM.myVar = "Fool">
<cfoutput>
#Evaluate("my" & "Var")#
</cfoutput>
Ade
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Moretti
Sent: 28 May 2005 18:06
To: Coldfusion Development
Subject: Re: [CF-Dev] Evaluating
>- see footer for list info -<
Adrian Lynch wrote:
>Evaluate() isn't so bad, I tend not to use it as I prefer array notation, I
>think it reads better.
>
>
Not as bad as it used to be, but yes array notation is much better....
there are virtually no instances where you should ever need to use
evaluate. (I think I had a solution for Neils one and only instance
where he had to use evaluate)
>It would be useful if the scope could be one of many:
>
> Evaluate("someVar" & i)
>
>
Errr... no... it wouldn't!!!
<cfset variables.someNewVar = evaluate("someVar"&i)>
If I had a variables.someVar1 and session.someVar1 which would be
assigned to variabes.someNewVar?
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<