Quick lesson in CF structs: Scopes can are treated as "special" structs. This means that variables.foois the same as variables["foo"]. Queries can also be treated as a struct of arrays: QueryName[ColumnName][RowNum]. This incredibly useful because it gives you the ability to access values dynamically without using evaluate(). It's also very useful when writing modules/custom tags. You can pass an attribute to your tag with the name of the local variable you want the return value to come back in.
<!--- ColdFusion Template (test.cfm) ---> <cfmodule template="rtnCaller.cfm" returnvar="LocalVal"> <cfoutput>#LocalVal#</cfoutput> <!--- ColdFusion Module Template (rtnCaller.cfm) ---> <cfset caller[attributes.returnvar] = "Value from module"> On Jan 11, 2008 2:55 PM, Gonzo Rock <[EMAIL PROTECTED]> wrote: > Though I don't understand the syntax used for Variables Scope... I would > have thought something like Variables.Something would have been the > syntax... not [Something] > Regardless... whew! Now on to logic errors ;-) > -- Edward A Savage Jr - "Sonny" Senior Software Engineer Creditdiscovery, LLC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

