how about using:
#temp[variables.testindex]#

rather than
#Evaluate('Request.arrClassListFromGroupID[#Variables.TestIndex#]')#

Joby Bednar
Director of Internet Design
iNEOgroup.com

-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 12:45 PM
To: CF-Talk
Subject: array value not found???


I have thise code:

<cfset Request.arrClassListFromGroupID = ArrayNew(1)>
<cfset temp = ArraySet(Request.arrClassListFromGroupID, 1, 7, "0")>

<cfloop from="1" to="7" index="Variables.TestIndex">
    <cfoutput>
        #Evaluate('Request.arrClassListFromGroupID[#Variables.TestIndex#]')#
    </cfoutput>
</cfloop>

I keep getting this message:

Error Diagnostic Information

An error occurred while evaluating the expression:


#Evaluate('Request.arrClassListFromGroupID[#i#]')#
Error near line 155, column
40. ------------------------------------------------------------------------
--------
An error has occurred while processing the expression:

   Request.arrClassListFromGroupID[1]


Error near line 1, column 34.


----------------------------------------------------------------------------
----

Error resolving parameter VARIABLES.ARRCLASSLISTFROMGROUPID


The specified variable name cannot be found. This problem is very likely due
to the fact that you have misspelled the variable name.



Shouldn't I get a  '0'  ??

Todd Ashworth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to