I go the check to work with <cfif structKeyExists(variables.l3manager,#managersUID[3]#)> but now I want to add a value to the structure.

 

So how I want to create an array in that structure.  I've tried but the following with no lock

<cfset evaluate("variables.l3manager.#managersUID[3]#") = arraynew(1)>

<cfset variables.l3manager.#managersUID[3]# = arraynew(1)>

 

None of these work.  The end result should be something like variables.l3manager.u3097789(1)

 

Brian

 

-----Original Message-----
From: Mark Mandel [mailto:[EMAIL PROTECTED]
Sent: Friday, 15 April 2005 11:20 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Using dynamic variable names

 

Oh wait...
<cfif structKeyExists(structToCheck , variables.l3manager.#managersUID[3]# )>

Not thinking quick yet today.

Mark

On 4/15/05, Mark Mandel <[EMAIL PROTECTED]> wrote:

try:
<cfif structKeyExists(variables.l3manager.#managersUID[3]# )>


--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/



-----------------------------------------------------------------------------------
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities ("Suncorp").

Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au.

The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system.

If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line.
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to