RE: Hi - Lists- Viewing 2 values at a time !!!
#ListGetAt(list, i)# / #ListGetAt(list, i + 1)# That should do it. At 07:15 PM 5/20/2002 -0500, you wrote: >Hi, > > I am looking for a List. is there any possibility of outputting the list >like: > 1 2 > 3 4 > 5 6 > >When the list has "1,2,3,4,5,6" as its contents. __ Get the mailserver that powers this list at http://www.coolfusion.com 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
RE: Hi - Lists- Viewing 2 values at a time !!!
Since it's an index loop, i is just a number - the position in the list: 1,2,3,4,5,... #ListGetAt(MyList, i)# #ListGetAt(MyList, i+1)# 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 12:07 p.m. > To: CF-Talk > Subject: RE: Hi - Lists- Viewing 2 values at a time !!! > > > 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: > > > 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. > > > > > > __ Get the mailserver that powers this list at http://www.coolfusion.com 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
RE: Hi - Lists- Viewing 2 values at a time !!!
Hi, I am looking for a List. is there any possibility of outputting the list like: 1 2 3 4 5 6 When the list has "1,2,3,4,5,6" as its contents. Thanks, Sudheer Chakka. -Original Message- From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 7:07 PM To: CF-Talk Subject: RE: Hi - Lists- Viewing 2 values at a time !!! 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: 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. > > __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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
RE: Hi - Lists- Viewing 2 values at a time !!!
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: 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
RE: Hi - Lists- Viewing 2 values at a time !!!
Instead of a list loop, try an index loop: 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. > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm 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