I'm not quite sure what you mean. If you want to add 1 to the result of
listgetat, you could do it two ways:
1) <cfset val = listGetAt(list,1)>
<cfset val = val + 1>
2) <cfset val = listGetAt(list,1) + 1>
=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire
Email : [EMAIL PROTECTED]
WWW : www.camdenfamily.com/morpheus
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Hawkes, Keith A CIV [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 11:51 AM
> To: CF-Talk
> Subject: ListGetAt + 1
>
>
> There seems to be little literature I can find on the
> ListGetAt command, so
> my question is: what is the proper syntax to add '1' my
> #ListGetAt(form.MonthID,1)#? In other words, this returns a
> number, and I
> want it to return a number plus 1.
>
> TIA,
>
> Keith
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm