While what you say is true, folks should remember that CF will run any
code outside of cffunction tags automatically. So, if you do this:
<cfcomponent>
<cfset init()>
<cffunction the init method >
</cfunction>
</cfcomponent>
Then you will _not_ need to call init() yourself.
========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
Email : [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Hal Helms [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 12:29 AM
> To: CF-Talk
> Subject: RE: CFC/Object Best Practice
>
>
> CFCs don't have true constructors at this time. To make up
> for that, several people have standardized around the idea of
> a method called init(), but it's up to the programmer to call
> init(); the system doesn't do it itself.
>
> Hal Helms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm