 




<?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>The VBScript Network and Systems Administrator&#039;s Cafe &#187; step</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/step/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator</link>
	<description></description>
	<lastBuildDate>Tue, 11 Oct 2011 18:36:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>VBScript Statements: Explanation of the For &#8230; Next Statement</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/vbscript-statements-explanation-of-the-for-next-statement/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/vbscript-statements-explanation-of-the-for-next-statement/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 23:20:16 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[Conditional statements]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[for next]]></category>
		<category><![CDATA[next]]></category>
		<category><![CDATA[step]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[VBScript Statements]]></category>
		<category><![CDATA[vbscriptstatements]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/vbscript-statements-explanation-of-the-for-next-statement/</guid>
		<description><![CDATA[The For Next statement is very useful for situations where you need to loop through a piece of code a specific number of times.    You can use Exit For statements to exit out of a For loop, if you need to check for a condition inside the loop. Additionally, The Step keyword at the [...]]]></description>
				<content:encoded><![CDATA[<p><font size="2" face="Arial">The <strong>For Next </strong>statement is very useful for situations where you need to loop through a piece of code a specific number of times. <br />
 <br />
You can use <strong>Exit For</strong> statements to exit out of a <strong>For</strong> loop, if you need to check for a condition inside the loop. Additionally, The <strong>Step</strong> keyword at the end of the line that has the for statement will allow you to loop through a <strong>For</strong> statement in any size of increment. </font></p>
<p><font size="2" face="Arial">Here is an example of a for statement, followed by one with a <strong>Step</strong> key word:</font></p>
<p><font size="2" color="#0000ff" face="Arial">For x = 1 to 10<br />
</font><font size="2" color="#0000ff" face="Arial">     wscript.echo x<br />
next</font></p>
<p><font size="2" color="#0000ff" face="Arial">For x=1 to 20 step 2<br />
    wscript.echo x<br />
next </font><font size="2" face="Arial"><br />
 </font></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/vbscript-statements-explanation-of-the-for-next-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
