Try dropping the pound signs (#) from the index. Like:
<cfloop from="1" to="7" index="Variables.TestIndex">
<cfoutput>
#Evaluate('Request.arrClassListFromGroupID[Variables.TestIndex]')#
</cfoutput> ^^^^^^^^^^^^^^^^^^^
</cfloop>
Russel
============================================================
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158 http://www.TurboSquid.com
Some days you eat the bear; some days the bear eats you.
============================================================
> -----Original Message-----
> From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 14:45
> 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists