I dont think this will work, but it's worth a shot.  try puttin hash marks 
around evaluate(arrayname)
teehee




Pooh Bear
Web App Developer
Picture Below (chicks dig my head!)
<HTML>
<HEAD></HEAD>
<BODY>
<IMG SRC="http://www.geocities.com/kickerazn_2000/sniffles_138x92.jpg";>
</BODY>
</HTML>



>From: "Cold Fusion" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Dynamic array names
>Date: Thu, 09 Aug 2001 15:59:25 +0100
>
>hi folks..
>
>I'm having a real headache trying to set some values in an array. The
>problem revolves around the fact that the array name is dynamic. I've been
>trying to use ArraySet but its just crazy, it simply doesn't set the
>values.
>
><cfset ArraySet(evaluate(arrayname),1,10,"bob")>
>
>doesn't error, but  it also doesn't actually set the values in the array.
>If I set the value manually as a test..
>
><cfset ArraySet(MyArrayName,1,10,"bob")>
>
>then it works fine (and arrayname defintely = MyArrayName).
>
>Is there a way of using DE or something that I'm missing to get this to
>work or does someone maybe know of a better way to do this?
>I'm at my wits end (not a long journey) so all help would be gratefully
>receieved...
>
>thanks
>.jez
>----
>Jeremy Becker ([EMAIL PROTECTED])
>100 High Street Wandsworth
>London SW18 4LA
>United Kingdom
>Tel: 020 8871 4240      Fax:020 8871 4584
>http://www.bta.com
>
>Network Consultancy and Support for Windows 9x/NT and MacOS.
>Internet connectivity, solutions, and business services.
>
>This message is intended only for the use of the person(s) ("The intended
>recipient(s)") to whom it is addressed.  It may contain information which
>is privileged and confidential within the meaning of applicable law.  If
>you are not the intended recipient, please contact the sender as soon as
>possible.  The views expressed in this communication may not necessarily
>be the views held by BTA.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to