Friday, October 14, 2005, 4:39:14 PM, one spoke:

BR> <cfcomponent name="mycomponent">
BR>   <cffunction name="init" hint="I am the 'constructor' of this object"
BR> returntype="mycomponnet">
BR>   <!--- if counter is used by various methods, then add it to the
variables scope --->>
BR>    <cfset variables.my.counter = 0>

Um, neglected to

   <cfset variables.my = StructNew()>

before that last line.

-- 
Jim Flannery
[EMAIL PROTECTED]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to