<?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>Slightlymore &#187; fgqs</title>
	<atom:link href="http://slightlymore.co.uk/tag/fgqs/feed/" rel="self" type="application/rss+xml" />
	<link>http://slightlymore.co.uk</link>
	<description>The online residence of Clinton the intertube sorcerer</description>
	<lastBuildDate>Sat, 24 Jul 2010 17:11:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-RC2-15161</generator>
		<item>
		<title>what does the the -= operator do</title>
		<link>http://slightlymore.co.uk/minus-equals-operator/</link>
		<comments>http://slightlymore.co.uk/minus-equals-operator/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 12:23:26 +0000</pubDate>
		<dc:creator>Clinton Montague</dc:creator>
				<category><![CDATA[Frequently googled questions]]></category>
		<category><![CDATA[decrement]]></category>
		<category><![CDATA[fgqs]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[operator]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[subraction-assignment]]></category>
		<category><![CDATA[subtraction]]></category>

		<guid isPermaLink="false">http://slightlymore.co.uk/?p=587</guid>
		<description><![CDATA[It sets the value on the left to be itself minus the value on the right (for example, <code>i-=3</code> is the same as <code>i = i-3</code>). It's called the <em>subtraction-assignment operator</em>.]]></description>
			<content:encoded><![CDATA[<p>The <code>-=</code> operator is a simplified way of writing I want to decrease the variable by a certain value. It&#8217;s called the <em>subtraction-assignment operator</em>.</p>
<h4>Examples</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$i</span><span style="color: #339933;">-=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// outputs 9;</span>
&nbsp;
<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$i</span><span style="color: #339933;">-=</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// outputs 5</span>
&nbsp;
<span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$i</span><span style="color: #339933;">-=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// output 20 (since 10 - (-10) is the same as 10+10;</span>
&nbsp;
<span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$i</span><span style="color: #339933;">-=</span><span style="color: #000088;">$i</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// output 0;</span></pre></td></tr></table></div>

<h4>Find out more</h4>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/dtx39exz(VS.85).aspx">MSDN page about the subtraction assignment for JScript</a></li>
<li><a href="http://www.google.co.uk/search?q=subtraction-assignment&#038;hl=en&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official&#038;hs=GKc&#038;start=10&#038;sa=N">Google search for &#8220;subtraction-assignment&#8221;</a></li>
<li>A post by me: <a href="http://slightlymore.co.uk/wisdom/operator-precedence-what-does-i1i-ii-3i-i-equal-and-why">Operator precedence &#8211; what does <code>(i=1)*i-- - --i*(i=-3)*i++ + ++i</code> equal and why?</a> (not for beginners)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://slightlymore.co.uk/minus-equals-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will jQuery work with Javascript turned off?</title>
		<link>http://slightlymore.co.uk/will-jquery-work-with-javascript-turned-off/</link>
		<comments>http://slightlymore.co.uk/will-jquery-work-with-javascript-turned-off/#comments</comments>
		<pubDate>Thu, 14 May 2009 16:01:14 +0000</pubDate>
		<dc:creator>Clinton Montague</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Frequently googled questions]]></category>
		<category><![CDATA[Javascript / jQuery]]></category>
		<category><![CDATA[fgqs]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://slightlymore.co.uk/?p=611</guid>
		<description><![CDATA[No]]></description>
			<content:encoded><![CDATA[<p>No</p>
<h4>Why not?</h4>
<p>jQuery is a javascript library. This means it is written <em>using</em> javascript, so it cannot run if javascript is disabled.</p>
<h4>Find out more</h4>
<ul>
<li><a href="/topics/javascript-jquery">Posts on my blog about Javascript and jQuery</a></li>
<li><a href="http://jquery.com/">jQuery website</a></li>
<li><a href="http://www.w3schools.com/JS/default.asp">W3Schools Javascript tutorials</a></li>
<li><a href="http://learningjquery.com">learningjquery.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://slightlymore.co.uk/will-jquery-work-with-javascript-turned-off/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>headspace boag</title>
		<link>http://slightlymore.co.uk/headspace-boag/</link>
		<comments>http://slightlymore.co.uk/headspace-boag/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 22:41:37 +0000</pubDate>
		<dc:creator>Clinton Montague</dc:creator>
				<category><![CDATA[Frequently googled questions]]></category>
		<category><![CDATA[boag]]></category>
		<category><![CDATA[fgqs]]></category>
		<category><![CDATA[headscape]]></category>

		<guid isPermaLink="false">http://slightlymore.co.uk/?p=573</guid>
		<description><![CDATA[You're probably looking for <a href="http://www.headscape.co.uk/">http://www.headscape.co.uk/</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.headscape.co.uk/">Head<strong>scape</strong></a> is a web design agency based in the south of England run by Paul Boag. They do a <a href="http://boagworld.com">rather good podcast</a>, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://slightlymore.co.uk/headspace-boag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
