I attached my file to one of your emails, but I think it didn't go through
because it had gone through cf-newbie.  Here is my line 37:

if(x == 1) {
arrayAppend(newDates, {first:dates[1],last:dates[1]});
continue;
}



On Sat, May 18, 2013 at 12:58 PM, Raymond Camden <[email protected]>wrote:

>
> What is your line 37? Mine is writeDump(var=newdates, label="New data");
>
> I bet you mean this:
>
> arrayAppend(newDates, {first:dates[x], last:dates[x]});
>
> if so, you may be on an older version of CF. I used implicit notation to
> define the structure. You can change it to this:
>
> newdateThing = structNew();
> newdateThing.first = dates[x];
> newdateThing.last = dates[x];
> arrayAppend(newDates, newdateThing);
>
> Note you will need to make similar changes elsewhere.
>
>
> On Sat, May 18, 2013 at 11:29 AM, Lewis Billingsley <
> [email protected]> wrote:
>
> >
> > Hi Ray,
> >
> >    I tried to run the code you sent, before trying to understand it. Here
> > is the message I got:
> >
> >
> >    - An expression beginning with arrayAppend, on line 37, column
> >
> > Thanks,
> > Lewis
> >
> >
> --
> ===========================================================================
> Raymond Camden, Adobe Developer Evangelist
>
> Email : [email protected]
> Blog : www.raymondcamden.com
> Twitter: cfjedimaster
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:6061
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to