Sorry

That doesnt work either :<(

I've got round it using a couple of nested structkeyexists() - but its not
as neat.

thanks

Dan

:> -----Original Message-----
:> From: Dan Haley [mailto:[EMAIL PROTECTED]]
:> Sent: 08 December 2000 20:47
:> To: CF-Talk
:> Subject: RE: "Undcocumented Feature" (Copyright MS) in Coldfusion 4.5
:> isde fine d() function
:> 
:> 
:> I don't know whether it is an error or a bug or expected 
:> behavior, but have
:> learned that it doesn't work.  The way to get around it is 
:> to not use the
:> array type notation "[#currentslot#]" that you are using.
:> 
:> Instead of:
:> isdefined("request.XMLPacket.BOOKINGSERVICE.SLOTLIST.slot[#cu
:> rrentslot#].att
:> ributes.sequencenumber.Value")
:> 
:> use:
:> isdefined("request.XMLPacket.BOOKINGSERVICE.SLOTLIST.slot.#cu
:> rrentslot#.attr
:> ibutes.sequencenumber.Value")
:> 
:> Dan
:> 
:> 
:> -----Original Message-----
:> From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
:> Sent: Friday, December 08, 2000 8:40 AM
:> To: CF-Talk
:> Subject: "Undcocumented Feature" (Copyright MS) in Coldfusion 4.5
:> isdefine d() function
:> 
:> 
:> This appears to be an error in ColdFusion's isdefined("") function
:> - the parameter is syntactically valid - I am outputting it 
:> successfully on
:> the line above...
:> 
:> ==============================================================
:> Error Diagnostic Information
:> 
:> An error occurred while evaluating the expression: 
:> 
:> 
:>  
:> isdefined("request.XMLPacket.BOOKINGSERVICE.SLOTLIST.slot[#cu
:> rrentslot#].att
:> ributes.sequencenumber.Value")
:> 
:> 
:> 
:> Error near line 104, column 8.
:> -------------------------------------------------------------
:> ---------------
:> ----
:> 
:> Parameter 1 of function IsDefined which is now
:> "request.XMLPacket.BOOKINGSERVICE.SLOTLIST.slot[1].attributes
:> .sequencenumber
:> ...Value" must be a syntactically valid variable name
:>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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