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:6060
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm