Use of "this[]" syntax is fixed in BD 6.2, just released. Also, BlogCFC is supported out-of-the-box on BD 6.2, so if you upgrade to BD 6.2, you can use BlogCFC 3.6 unmodified (that's what I'm using for my blog--soon to be posted--running on BD.NET).
Vince Bonfanti New Atlanta Communications, LLC http://www.newatlanta.com > -----Original Message----- > From: Rob [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 24, 2005 4:41 PM > To: CF-Talk > Subject: Re: eval > > Though I highly doubt Sean's challenge included Bluedragon... > > I've had to use evaluate on BD with a cfc, but that's > probably because I misunderstand how "this" is supposed to > work in cfc's nowadays (let alone if it's the same on mx and bd): > > <cfloop collection="#this#" item="x"> > <!--- evaluate is for bd6.1 ---> > <cfset ispect = evaluate('this.' & x)> > <cfif isSimpleValue(ispect) or isStruct(ispect) or > isArray(ispect)> > <cfset variables.localvars[x] = ispect /> > </cfif> > </cfloop> > > It's used when trying to save the state of a CFC to an xml file. > this[] syntax didn't work, but I seem to remember someone > saying that "this" in a cfc is wrong anyway - so it's > probably wrong in the first place :-/ > > BD6.1 btw > > <cfset ispect = this[x]> works on cfmx6.1 > > > On Thu, 24 Mar 2005 15:09:41 -0600, Raymond Camden > <[EMAIL PROTECTED]> wrote: > > Well, I'd say almost nothing forces you to use Evaluate. Just like > > nothing forces you to use addition. However, that being said, I can > > think of one case where you _almost_ need evalute... and that's > > valueList. You must pass in the query name and column name, and it > > can't be dynamic. Strictly speaking though, evaluate isn't > necessary, > > as you can do the same thing with a loop and bracket notation. > > > > On Thu, 24 Mar 2005 12:35:01 -0800, Ian Skinner > > <[EMAIL PROTECTED]> wrote: > > > I just wanted to add that for the purpose of "evaluate()" > bracket notation and dot notation are pretty much equal. > Neither of them are using an evaluate function. > > > > > > I believe the spirit of the challenge, as Jared opened > with, was to show a situation were evaluate() was the only > way to achieve the correct result. > > > > > > I have yet to run into such a situation in my own coding. > > -- > ~Blog~ > http://www.robrohan.com > ~The cfml plug-in for eclipse~ > http://cfeclipse.tigris.org > ~open source xslt IDE~ > http://treebeard.sourceforge.net > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199927 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

