<?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-p77.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-25T20:47:19</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#55298" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23598" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23597" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#20806" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#14767" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#55298">
		<title>coldfusion/6.1/htmldocs/tags-p77.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#55298</link>
		<description>@m.ekin:  to do something like this loop *backwards* over the array:&lt;br /&gt;&lt;br /&gt;&lt;cfloop index=&quot;i&quot; from=&quot;#ArrayLen(testArray)#&quot; to=&quot;1&quot; step=&quot;-1&quot;&gt;&lt;br /&gt;&lt;cfif testArray[i].id EQ #id#&gt;&lt;br /&gt;&lt;cfset ArrayDeleteAt(testArray, i)&gt;&lt;br /&gt;&lt;/cfif&gt;&lt;br /&gt;&lt;/cfloop&gt;</description>
		<dc:creator>I.Am.Zorglub</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-10-27T08:53:27</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23598">
		<title>coldfusion/6.1/htmldocs/tags-p77.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23598</link>
		<description>a little more clarification, in this example each element in the array is a structure.  i need to delete every element that has an id of #id#</description>
		<dc:creator>m.ekim</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-07T17:20:06</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23597">
		<title>coldfusion/6.1/htmldocs/tags-p77.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#23597</link>
		<description>actually, i just came across an instance where i'd like to do this.&lt;br /&gt;&lt;br /&gt;&lt;cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#ArrayLen(testArray)#&quot;&gt;&lt;br /&gt;  &lt;cfif testArray[i].id EQ #id#&gt;&lt;br /&gt;    &lt;cfset ArrayDeleteAt(testArray, i)&gt;&lt;br /&gt;  &lt;/cfif&gt;&lt;br /&gt;&lt;/cfloop&gt;</description>
		<dc:creator>m.ekim</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-07T17:18:44</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#20806">
		<title>coldfusion/6.1/htmldocs/tags-p77.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#20806</link>
		<description>Hmmm...you sure are fiesty for someone with no screen name. It seems to me that if you set an increment value, you would want it to be predictably incremented. Can you give an practical example of why you would want to do what your example does in real life?</description>
		<dc:creator>M@Rob</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-01T13:08:16</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#14767">
		<title>coldfusion/6.1/htmldocs/tags-p77.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p77.htm#14767</link>
		<description>FACT:&lt;br /&gt;cfloop also has more weirdness than is mentioned here.&lt;br /&gt;not only can you not affect the &quot;to&quot; condition during the loop, but you also CANNOT AFFECT THE INDEX.&lt;br /&gt;example:&lt;br /&gt;&lt;br /&gt;&lt;cfloop index=i from=&quot;1&quot; to=&quot;6&quot;&gt;&lt;br /&gt;  &lt;cfoutput&gt;index is #i#&lt;br&gt;&lt;/cfoutput&gt;&lt;br /&gt;  &lt;cfif i is 5&gt;&lt;br /&gt;    &lt;cfset i = 4&gt;&lt;br /&gt;  &lt;/cfif&gt;&lt;br /&gt;&lt;/cfloop&gt;&lt;br /&gt;This should produce an infinite loop, with i going from 5-&gt;4-&gt;5, but, instead it outputs:&lt;br /&gt;index is 1&lt;br /&gt;index is 2&lt;br /&gt;index is 3&lt;br /&gt;index is 4&lt;br /&gt;index is 5&lt;br /&gt;index is 6&lt;br /&gt;&lt;br /&gt;  Any changes to the loop index during the execution of the loop are destroyed, and the loop variable is re-created every time based on some secret internal counter.&lt;br /&gt;&lt;br /&gt;OPINION:&lt;br /&gt;If only macromedia had knuckles and I were a nun...&lt;br /&gt;&lt;br /&gt;bad coldfusion! bad!  secret, hidden, undocumented variables, that dont appear in the variables scope, that control the flow of my program.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-14T13:50:31</dc:date>
	</item>
	</rdf:RDF>

