<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Absolute Jargon &#187; scope</title>
	<atom:link href="http://blog.jargonia.co.uk/tag/scope/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jargonia.co.uk</link>
	<description>Coding, gaming and just general rambling</description>
	<lastBuildDate>Mon, 10 May 2010 08:08:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VB&#8217;s excellent scope analysis</title>
		<link>http://blog.jargonia.co.uk/2008/09/vbs-excellent-scope-analysis/</link>
		<comments>http://blog.jargonia.co.uk/2008/09/vbs-excellent-scope-analysis/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 10:11:41 +0000</pubDate>
		<dc:creator>Jargon</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[scope]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://blog.jargonia.co.uk/?p=84</guid>
		<description><![CDATA[ Ugh, I loathe working with VB for money reasons, unfortunately I have to maintain the company&#8217;s existing all crappy software.  So, I&#8217;m coding away adding in the latest bug fix or feature request when VB&#8217;s fantastic IDE tells me what I&#8217;ve done is wrong&#8230;
Take a look at the below GIMP&#8217;d screenshot (I&#8217;ve highlighted the points [...]]]></description>
			<content:encoded><![CDATA[<p> Ugh, I loathe working with VB for money reasons, unfortunately I have to maintain the company&#8217;s existing all crappy software.  So, I&#8217;m coding away adding in the latest bug fix or feature request when VB&#8217;s fantastic IDE tells me what I&#8217;ve done is wrong&#8230;</p>
<p>Take a look at the below GIMP&#8217;d screenshot (I&#8217;ve highlighted the points of interest).  As you can see VB&#8217;s IDE has complained that I have declared duplicate variable names in the same scope.  I know I have declared duplicate variables names, that is what I was intending to do, consistency and all that.  However, each declaration is under a different branch of the parent conditional, which should have a scope of it&#8217;s own.  Apparently VB has it&#8217;s own way of doing things.  Yes, I could pull the declaration out of the conditional and have one declaration but I was hoping to be less intensive on the heap by declaring them only when they are needed (efficiency and all that).</p>
<p><img class="size-full wp-image-83 alignnone" src="http://blog.jargonia.co.uk/wp-content/vbscope.png" alt="VB's excellent scope analysis" width="441" height="436" /></p>
<p> Anyway, this is just one irritating feature of VB that causes me so much pain <img src='http://blog.jargonia.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &lt;/rant&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jargonia.co.uk/2008/09/vbs-excellent-scope-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
