<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p80.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T11:28:06</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#46096" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#37891" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#34010" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#33774" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24497" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24479" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#23822" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#22497" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15779" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15767" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#46096">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#46096</link>
		<description>This is a response to  merlinox's question about a 'currentrow' variable when loopin over a list.  You can do this yourself by setting a counter inside the loop itself:&lt;br /&gt;&lt;br /&gt;&lt;cfloop list=&quot;1,2,3&quot; index=&quot;i&quot;&gt;&lt;br /&gt;     &lt;cfscript&gt;&lt;br /&gt;          if(IsDefined(&quot;vCounter&quot;)){&lt;br /&gt;               vCounter = IncrementValue(vCounter);&lt;br /&gt;          }else{&lt;br /&gt;               vCounter = 1;&lt;br /&gt;          }&lt;br /&gt;     &lt;/cfscript&gt;&lt;br /&gt;&lt;br /&gt;     &lt;!--- put the rest of your looping code here. ---&gt;&lt;br /&gt;&lt;/cfloop&gt;</description>
		<dc:creator>heashon2000</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-03-15T12:54:16</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#37891">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#37891</link>
		<description>The function works as described if the contents of var &quot;theFile&quot; is not the name of the file, but the returned value of a cffile action=&quot;read&quot; operation.&lt;br /&gt;&lt;br /&gt;Thus:&lt;br /&gt;&lt;cffile action=&quot;read&quot;&lt;br /&gt;	file=&quot;D:\\Inetpub\\wwwroot\\whatever.txt&quot;&lt;br /&gt;	variable=&quot;theFile&quot;&lt;br /&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;cfloop list=&quot;#theFile#&quot; &lt;br /&gt;   index=&quot;curLine&quot; &lt;br /&gt;   delimiters=&quot;#chr(10)##chr(13)#&quot;&gt; &lt;br /&gt;   &lt;cfoutput&gt;Line of file: #curLine#&lt;/cfoutput&gt;&lt;br /&gt;&lt;/cfloop&gt;&lt;br /&gt;&lt;/pre&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-25T19:03:57</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#34010">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#34010</link>
		<description>No screen name and No screen name, I apologize for dropping the ball on your comment about the filename functionality. This functionality never existed but somehow it was added to the CFMX documentation.&lt;br&gt;&lt;br&gt;I have added doc bug 60239 to help ensure that we fix it in the next release of the docs.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2005-05-26T18:03:12</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#33774">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#33774</link>
		<description>jrunrandy, your comment is inapropriate. The question was relevant to the (poor) documentation provided. In the time it took you to berate the user you could have answered the question and saved me the trouble of looking elsewhere for an answer to why looping over a file doesn't work as expected.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-21T03:54:51</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24497">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24497</link>
		<description>No Screen Name,&lt;br&gt;I'm sorry, but LiveDocs doesn't work like that. It isn't support for your coding questions. It doesn't receive enough traffic to handle questions like this effectively. I recommend that you post your issue to the online forums: http://webforums.macromedia.com/coldfusion/</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-11-27T13:34:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24479">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#24479</link>
		<description>Apparently Macromedia staff has stopped monitoring LiveDocs ... ? Waiting since 10/16 for an answer to my question.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-26T19:34:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#23822">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#23822</link>
		<description>when will cfloop have a cfcontinue or cfnext attribute for cfloop? kind of amazed how you left something so BASIC to looping out...well, not really.</description>
		<dc:creator>LoveErrors</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-11T10:16:21</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#22497">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#22497</link>
		<description>When I try looping over a file as in the example, my index param seems to only contain the filename I specified and the loop only executes once.&lt;br /&gt;e.g. this code:&lt;br /&gt;&lt;br /&gt;&lt;cfset srcFile = &quot;C:\Inetpub\wwwroot\Test\mail2.log&quot;&gt;&lt;br /&gt;&lt;cfloop list=&quot;#srcFile#&quot; index=&quot;curLine&quot; delimiters=&quot;#Chr(10)##Chr(13)#&quot;&gt;&lt;br /&gt;  &lt;cfoutput&gt;#curLine#&lt;/cfoutput&gt;&lt;br&gt;&lt;br /&gt;&lt;/cfloop&gt;&lt;br /&gt;&lt;br /&gt;outputs only a single line:&lt;br /&gt;&lt;br /&gt;C:\Inetpub\wwwroot\Test\mail2.log&lt;br /&gt;&lt;br /&gt;The file contains 3 words separated by CRLF's. What am I doing wrong?</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-10-16T16:53:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15779">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15779</link>
		<description>The cfloop tag documentation covers several HTML pages, and each page describes a different kind of loop.&lt;br&gt;The page you are viewing documents looping over a ColdFusion list (or a file that contains a list), but not over a query. &lt;br&gt;For the syntax of the loop over a query see http://livedocs.macromedia.com/coldfusion/6.1/htmldocs//tags-p79.htm. (You can get to the page by clicking the left arrow at the top or bottom of this page.)&lt;br&gt;&lt;br&gt;That said, here is a little more information:&lt;br&gt;The startrow (and endrow) attributes are used in the query loops only, not for list loops.&lt;br&gt;To determine the current query row inside any loop over a query (whether using cfloop or cfoutput), use the queryname.currentrow variable.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-06-01T07:57:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15767">
		<title>coldfusion/6.1/htmldocs/tags-p80.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p80.htm#15767</link>
		<description>Aren't a counter (like currentRow) for this tag?&lt;br /&gt;Homesite tag - insight show me also startrow parameter for CFLOOP but It doesn't work.</description>
		<dc:creator>merlinox</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-31T03:17:26</dc:date>
	</item>
	</rdf:RDF>

