<cfscript>
monthArray = arrayNew(1);
monthArray[1] = "0101";
monthArray[2] = "0102";
monthArray[3] = "0103";
</cfscript>
Not sure what you're going for here, the above could be used in about the
same way or something like this:
<cfloop from="1" to="3" index="I">
010#i#
</cfloop>
What's the expected outcome, or output?
--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 18, 2006 10:20 AM
To: CF-Talk
Subject: RE: Evaluate vs ?
How would you "fix" this one?
<Cfset Month1 = 0101>
<Cfset Month2 = 0102>
<Cfset Month3 = 0103>
<Cfloop from="1" to="3" index="i">
<cfset CMonth = "Month" & i>
<cfset CCMonth = #Evaluate(CMonth)#>
</cfloop>
Lee Surma
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237999
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