Yea, I've been reading about this Option Explicit thing, and even though I never have put
<% Option Explicit %> anywhere in the script(s), it's acting like it is in there somewhere. Like doing this: <% Response.write(boo)%> throws an error saying "Name 'boo' is not declared". Weird. > -----Original Message----- > From: Brad Wood [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2006 2:23 PM > To: CF-Talk > Subject: RE: equivalent of isDefined in ASP? > > Did the previous guy use "option explicit"? > > ~Brad > > -----Original Message----- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2006 1:10 PM > To: CF-Talk > Subject: RE: equivalent of isDefined in ASP? > > I'm not an ASP guy, but the previous guy was. > > From what I can tell, in ASP, "all" variables exist. If they were not > assigned a value, then they will be an empty string (or whatever > equivalent for complex variables). > > He just tested for x <> "" or x = "" and then did what he had to do. > > M!ke > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257251 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4