Is this right? <cfset myarray = arrayNew(1)>
<cfset session.pageList = arrayAppend( myarray, structNew() )> <cfset NumberPage = arraylen(session.PageList)> for finding out he arraylen?? because this is where it is giving me the error...... On Wed, Mar 11, 2009 at 10:21 AM, Adrian Lynch <[email protected]>wrote: > > Out of interest, I wonder what would have to happen for ArrayAppend to > return false?! > > Adrian > > > -----Original Message----- > > From: Dominic Watson [mailto:[email protected]] > > Sent: 11 March 2009 12:37 > > To: cf-talk > > Subject: Re: Append Arrays with Structures > > > > > > ArrayAppend does not return the array - it returns "True, on > > successful completion." > > > > (http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/ > > html/wwhelp.htm?context=ColdFusion_Documentation&file=00000381.htm) > > > > So: > > > > <cfparam name="session.pageList" default="#arrayNew(1)#" /> > > <cfset arrayAppend( session.pageList, structNew() ) /> > > ... etc. > > > > > > Dominic > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320375 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

