Instead of setting each local
variables one at a time.
<cfset var
a=""/>
<cfset var b=""/>
<cfset var c=""/>
<cfset var d=""/>
<cfset var b=""/>
<cfset var c=""/>
<cfset var d=""/>
I was trying to do this... but it
does not worked?
<cfset tmpVar="a,b,c,d">
<cfloop list="#tmpVar#" index="i">
<cfset var #i# = ""/>
</cfloop>
I wonder? can it be done?
<cfset tmpVar="a,b,c,d">
<cfloop list="#tmpVar#" index="i">
<cfset var #i# = ""/>
</cfloop>
I wonder? can it be done?
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org