<?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 - functa16.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-26T05:17:16</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#26725" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#25254" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#26725">
		<title>coldfusion/6.1/htmldocs/functa16.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#26725</link>
		<description>It's not explicit in the docs above that the array is sorted INLINE, which is why the function doesn't return an array.  It sorts the original array.&lt;br /&gt;&lt;br /&gt;This has been tripping people up.</description>
		<dc:creator>Adam Cameron</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-19T14:03:20</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#25254">
		<title>coldfusion/6.1/htmldocs/functa16.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa16.htm#25254</link>
		<description>There is no &quot;unique&quot; option when sorting.&lt;br /&gt;This is what I have done to achive it.&lt;br /&gt;Any idea if this can be done in better way?&lt;br /&gt;&lt;br /&gt;	&lt;cfset ArraySort(errors,&quot;text&quot;)&gt;&lt;br /&gt;	&lt;cfset last = ArrayLen(errors)&gt;&lt;br /&gt;	&lt;cfloop condition=&quot;i le last&quot;&gt;&lt;br /&gt;		&lt;cfif last_text neq errors[i]&gt;&lt;br /&gt;			&lt;cfset last_text = errors[i]&gt;&lt;br /&gt;		&lt;cfelse&gt;&lt;br /&gt;			&lt;cfset ArrayDeleteAt(errors,i)&gt;&lt;br /&gt;			&lt;cfset last = ArrayLen(errors)&gt;&lt;br /&gt;		&lt;/cfif&gt;&lt;br /&gt;		&lt;cfset i = i + 1&gt;&lt;br /&gt;	&lt;/cfloop&gt;</description>
		<dc:creator>e2ipi</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-10T12:43:04</dc:date>
	</item>
	</rdf:RDF>

