<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Use returned function variable in new function vbscript?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/use-returned-function-variable-in-new-function-vbscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/use-returned-function-variable-in-new-function-vbscript/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 15:28:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-returned-function-variable-in-new-function-vbscript/#comment-76124</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Sat, 17 Apr 2010 01:47:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-76124</guid>
		<description><![CDATA[I tried this, and it works:

&lt;pre&gt;Function MyFunction1(txt)
MyFunction1 = Replace(txt, &quot;Any&quot;, &quot;No&quot;)
    &#039;MyFunction1 = &quot;test&quot;
End Function    
Function MyFunction2(txt)
   MyFunction2 = Replace(txt,&quot;No&quot;,&quot;Any&quot;)
End Function
strTxt = &quot;Any text at all&quot;
Str1 = MyFunction1(strTxt)
Str2 = MyFunction2(Str1)
document.write(Str1)
document.write(Str2)&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>I tried this, and it works:</p>
<pre>Function MyFunction1(txt)
MyFunction1 = Replace(txt, "Any", "No")
    'MyFunction1 = "test"
End Function    
Function MyFunction2(txt)
   MyFunction2 = Replace(txt,"No","Any")
End Function
strTxt = "Any text at all"
Str1 = MyFunction1(strTxt)
Str2 = MyFunction2(Str1)
document.write(Str1)
document.write(Str2)</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.044 seconds using memcached
Object Caching 267/273 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 15:37:20 -->