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[#currentslot#].att
ributes.sequencenumber.Value")

use:
isdefined("request.XMLPacket.BOOKINGSERVICE.SLOTLIST.slot.#currentslot#.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[#currentslot#].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