>
> I am getting:
> Local variables must be initialized.
> The variable dayList near line 7, column 5 lacks an
> initializer. For this code in the constructor of a CFC when I
> create an instance:
> 6: var dayList=structNew();
> 7: var
> dayList[1]=createObject('component','com.bluefiner.ceo.tracklo
> gDownloadTimes.day');
>
> com.bluefiner.ceo.tracklogDownloadTimes.day just defines some
> variables in 'this.' so they appear as public properties.
>
> Any ideas what might be up, as dayList looks fairly well
> initialized to me :-)
You've already told it that dayList is a local variable, you don't need
to use "var" on it again, or you're trying to double initialize it
Get rid of the "var" on line 7
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

