IsStruct() tells if a variable is a struct or not..

You could also <cfparam name="struct_name" default="">

Then

<cfif #IsStruct(struct_name)#>

<cfelse>

</cfif>

Dunno if that answers your question or not...

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder


----- Original Message -----
From: "Brian Eckerman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 10:11 AM
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to