This would do it I guess...
<cfset ques1=0>
<cfloop from="1" to="37" index="i">
<cfset ques1 = ques1 + evaluate("DIRCOUNT" & i & ".CNT" & i)>
</cfloop>
rgds
* Holger Lockertsen, Solutions Developer, Horisont Information Systems AS
* Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway
* 23 31 03 04 / 91 83 20 51
* [EMAIL PROTECTED] http://www.horisont.no/
NB! Horisont har f�tt nye nummer, og mitt INTERNNUMMER er: 23 31 03 04
-----Original Message-----
From: Charles James S CONT CNIN [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 05, 2000 2:53 PM
To: '[EMAIL PROTECTED]'
Subject: Can I CFLOOP this?!?!?
Hi again all!!!
Is there any way I can loop this to count? I'm just wanting to count the
value of these variables together!!!
<CFSET ques1 =
#DIRCOUNT1.cnt1#+#DIRCOUNT2.CNT2#+#DIRCOUNT3.CNT3#+#DIRCOUNT4.CNT4#+#DIRCOUN
T5.CNT5#+#DIRCOUNT6.CNT6#+#DIRCOUNT7.CNT7#+#DIRCOUNT8.CNT8#>
Actually, I have 37 variables to do with this!!!!
Any help would be greatly appreciated!!!
>Jim Charles
>Dyntel Corp.
>Code 06 Computer Support - Building 1
>Naval Surface Warfare Center
>(812) 854-3207
>[EMAIL PROTECTED]
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.