<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: reading all properties of Global object</title>
		<atom:link href="http://cycling74.com/forums/topic/reading-all-properties-of-global-object/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/reading-all-properties-of-global-object/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 03:52:02 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/reading-all-properties-of-global-object/#post-30281</guid>
					<title><![CDATA[reading all properties of Global object]]></title>
					<link>http://cycling74.com/forums/topic/reading-all-properties-of-global-object/#post-30281</link>
					<pubDate>Wed, 14 Feb 2007 09:53:43 +0000</pubDate>
					<dc:creator>Mattijs</dc:creator>

					<description>
						<![CDATA[
						<p>Hi js experts,</p>
<p>This works:</p>
<p>function printThis()<br />
{<br />
for (var property in this)<br />
{<br />
post(property)<br />
post();<br />
}<br />
}</p>
<p>But I&#8217;d like to do this:</p>
<p>g = new Global(&#8220;stuff&#8221;);<br />
g.myProperty = 42;<br />
g.yourProperty = 16;</p>
<p>function printGlobal()<br />
{<br />
for (var property in g)<br />
{<br />
post(property)<br />
post();<br />
}<br />
}</p>
<p>This doesn&#8217;t work. Does anyone know why? Or is there another way to check all existing properties of a global object?</p>
<p>Thanks,<br />
Mattijs</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

