I thought initialization was the act of creating and assigning a default
value for each field within the structure.  If you initialize a variable
or structure, that means that every field has a value that can be
checked.  If you just want to see if it exists, then just use
isdefined() or parameterexists() or something of that nature.


- Matt Small


-----Original Message-----
From: Brian Eckerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 21, 2002 11:26 AM
To: CF-Talk
Subject: RE: Is there anywhay to work around there not being an IsNull
Function

Right, but if it exists and hasn't been initialized what would be the
default value?
Or are you not allowed to create a variable without set it's value?


-----Original Message-----
From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 11:30 AM
To: CF-Talk
Subject: RE: Is there anywhay to work around there not being an IsNull
Function


Well, if it exists, check for the initialization values.

- Matt Small

-----Original Message-----
From: Brian Eckerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 21, 2002 11:12 AM
To: CF-Talk
Subject: Is there anywhay to work around there not being an IsNull
Function

I was woried about declaring a struct, initializing it, and then being
able to tell if the init was successfull.
IsDeclared would be of no help in this situation, because you could have
a struct without having it set up.
What is the best way to validate whether a struct has been initialized
properly.

Brian Eckerman
Web Developer



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to