You know I think, or at least I thought I did try that. However I noticed
you used the single quote I think I used the double quote, I didn't think
that this would make any difference however it did...

Many thanks!



-----Original Message-----
From: Juan Andres Alvarez Valenzuela [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 September 2000 6:17 PM
To: CF-Talk
Subject: RE: arrays



the evaluation function works

try this:

<CFSET MyNewArray = ArrayNew(2)>
<CFSET MyNewArray[1][1] = "Sample Value">
<CFSET MyNewArray[1][2] = "43">
<CFSET MyNewArray[2][1] = "Sample Value 2">
<CFSET MyNewArray[2][2] = "432">
<cfset items="[2][2]">
<cfoutput>#evaluate('MyNewArray#items#')#</cfoutput>

Juandres

>
> -----Original Message-----
> From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 September 2000 3:38 PM
> To: CF-Talk
> Subject: RE: MDAC 2.6 RTM available for download
>
>
> Can anyone point me in the right Direction:-)
>
> Dynamically I wish to pass some values through the URL, these values will
be
> used to get values out of a dynamic array. Here is the problem due to the
> value of n depth of the array by n depth we could end up with something
like
> this:-)
>
> Example[1][1][1]
>
> Or we could have
>
> Example[1][4]
>
> Now the url variable passed contains 1-4 which is then processed and
> generates a string [1][4] now what I need to do is then use this to be
able
> to reference the Array. The problem is in CF how do I using the examples
> above create the code to be able to get this arrays data.
>
> I though that I could use <cfset test="Example#items#"> which returns
> Example[1][4], however the Evaluate function will not work on this. Am I
in
> the right area to achieve this or am I approaching this problem from the
> wrong direction.
>
>
>
> regards
>
> Andrew Scott
> ANZ eCommerce Centre
> * Ph 9273 0693
> * [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Adrian Cooper [mailto:[EMAIL PROTECTED]]
> Sent: 27 September 2000 08:23
> To: CF-Talk
> Subject: MDAC 2.6 RTM available for download
>
>
> MDAC 2.6 RTM is available from:
>
> http://www.microsoft.com/data/
>
> Installed it here with CF 4.51 and SQL Server 7 SP2 - no problems so far.
>
> Adrian Cooper.
>
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
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.mail-archive.com/cf-talk@houseoffusion.com/
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.

Reply via email to