On 9/14/05, Raymond Camden <[EMAIL PROTECTED]> wrote:
> 
> Wow... no offense, but you use this?
> 
> <CFSET hold="FirstName">
> <CFSET "#hold#"="bob">
> <CFOUTPUT>#FirstName#</CFOUTPUT>
> 

Sort of. In looking at this I could have been mistaken. The code in question 
is

<cfset variables.dictLoad_TheFile="admin_boss">
<cfinclude template="includes/inc_dictload.cfm">
....which contains among other things...
<cfset "#variables.dictLoad_TheFile#"=StructNew()>
....and then code to populate the struct...

....and display like this:
<cfoutput>#admin_boss.helloWorld#</cfoutput>

My impression at the time was that the cfset would have not worked without a 
prepend of "variables." in front of it, so I would then be outputting

<cfoutput>#variables.admin_boss.helloWorld#</cfoutput>

I'm using an include rather than a tag for the sake of speed. I know thats 
heinous but the whole code block tested out to a decent speed improvement 
back when I originally worked it up, and I was trying to shave all I could 
off overall execution time.

I've never used setariable(). RTFM.

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com <http://mysecretbase.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218330
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