Hi Matthew,
 
  Thanks for ur reply!!!

  What is the output should be ? Should it be like #i# and #i+1# in the loop

  I tried the above and it is giving an error.

thanks,
Sudheer chakka

-----Original Message-----
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 7:08 PM
To: CF-Talk
Subject: RE: Hi - Lists- Viewing 2 values at a time !!!


Instead of a list loop, try an index loop:
<cfloop index="i" from="1" to="#ListLen(MyList)#" step="2">

Regards, 
Matthew Walker 
/* 
        Easier, smarter forms:
        http://www.matthewwalker.net.nz/inform2 
*/ 





> -----Original Message-----
> From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 21 May 2002 11:58 a.m.
> To: CF-Talk
> Subject: Hi - Lists- Viewing 2 values at a time !!!
> 
> 
> Hi,
>    I have values appended into a list. i am appending 2 
> values at a time.
> 
>  I want to view those 2 values at the same time. Is there a 
> way like step=2
> in CFLOOP or something like that??
> 
> 
> Thanks in advance,
> Sudheer Chakka.
> 
> 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to