<?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 - variab34.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-25T18:09:42</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#21090" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#17640" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#21090">
		<title>coldfusion/6.1/htmldocs/variab34.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#21090</link>
		<description>variables are different by their contents and lifetime.&lt;br /&gt;&lt;br /&gt;BECAUSE they are stored, and maintained differently in server's memory. Try to use &lt;cfdump var=&quot;#varName#&quot;/&gt;&lt;br /&gt;&lt;br /&gt;create different variable such as simple variable&lt;br /&gt;&lt;cfset mySimpleVar = &quot;John&quot;/&gt;&lt;br /&gt;&lt;cfdump var&quot;#mySimpleVar #&quot;/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;complex varibale&lt;br /&gt;&lt;cfscript&gt;&lt;br /&gt;   employee = StructNew();&lt;br /&gt;   StructInsert(employee, &quot;firstname&quot;, &quot;John&quot;);&lt;br /&gt;   StructInsert(employee, &quot;lastname&quot;, &quot;Smith&quot;);&lt;br /&gt;   StructInsert(employee, &quot;email&quot;, &quot;me@emial.com&quot;);&lt;br /&gt;   StructInsert(employee, &quot;phone&quot;, &quot;(416) 777-7777&quot;);&lt;br /&gt;   StructInsert(employee, &quot;department&quot;, &quot;HR&quot;);&lt;br /&gt; &lt;/cfscript&gt;&lt;br /&gt;&lt;br /&gt;&lt;cfdump var&quot;#employee#&quot;/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------&lt;br /&gt;About varibale lifetime (scope), I should say you need to study variable scope.&lt;br /&gt;Its like writing the value on sand ! or a peace of paper.&lt;br /&gt;Yes, they are mostly on the server's memory (sometimes registry), but different parts of the memory are maintained DIFFERENTLY. Some expire after you close your browser window some expire when server restart , some expire after a period of time.&lt;br /&gt;&lt;br /&gt;related links:&lt;br /&gt;About scopes :: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/variab34.htm#wp1100240&lt;br /&gt;Data types :: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/variabl5.htm#wp1122027&lt;br /&gt;StructNew() :: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca103.htm#wp1113520</description>
		<dc:creator>cf_Amir</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-08T09:55:34</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#17640">
		<title>coldfusion/6.1/htmldocs/variab34.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/variab34.htm#17640</link>
		<description>&quot;variables differ in the source of their data&quot;: what does that mean?  That is like saying the jars in my refrigerator differ in the source of their contents? What does the source have to do with it?  It's the difference in the contents the important thing?  Secondly, the statement is confused:  the variables differ because of a property of something other than the variables.  The variables don't differ, it's the contents of the variables that differ.  If I'm wrong about that, please explain.&lt;br /&gt;&lt;br /&gt;&quot;How long their values persist&quot; is usually called &quot;lifetime&quot;.  And, it's not just the value that persists, but the variable itself.</description>
		<dc:creator>a440guy</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-24T14:56:47</dc:date>
	</item>
	</rdf:RDF>

