<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6992129293870658291.post3024473168181472053..comments</id><updated>2009-11-12T22:16:44.760+11:00</updated><title type='text'>Comments on Impossible Siebel 2.0: What is the scope of a variable in eScript/Browser...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.impossiblesiebel.com/feeds/3024473168181472053/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3024473168181472053/comments/default'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/what-is-scope-of-variable-in.html'/><author><name>Jason Le</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-8060970930100596920</id><published>2009-11-12T18:34:59.792+11:00</published><updated>2009-11-12T18:34:59.792+11:00</updated><title type='text'>Good Post Jason !!!
Just to add.

I like to highli...</title><content type='html'>Good Post Jason !!!&lt;br /&gt;Just to add.&lt;br /&gt;&lt;br /&gt;I like to highlight there are fundamental flaws(in the comments as well as the understanding) in the escript &lt;br /&gt;provided by Siebel TSE.&lt;br /&gt;&lt;br /&gt;Lets check the escript in the Metalink.&lt;br /&gt;Check my inline comments prefixed by geeksajan&lt;br /&gt;&lt;br /&gt;function foo()  &lt;br /&gt;{  &lt;br /&gt;     var var1;  &lt;br /&gt;  &lt;br /&gt;     try  &lt;br /&gt;     {  &lt;br /&gt;           var var2;  &lt;br /&gt;           if(true)  &lt;br /&gt;           {  &lt;br /&gt;                 var var3;  &lt;br /&gt;  &lt;br /&gt;                 for(var index = 0; index &amp;lt; 2; index++)  &lt;br /&gt;                 {  &lt;br /&gt;                       // Accessible variables are var1, var2, var3 and index  &lt;br /&gt;                 }  &lt;br /&gt;                 // Accessible variables are var1, var2 and var3  &lt;br /&gt;           }  &lt;br /&gt;          // Accessible variables are var1 and var2  &lt;br /&gt;&lt;br /&gt;          // geeksajan: Even var3 and index can be accessed.&lt;br /&gt;           &lt;br /&gt;     }  &lt;br /&gt;     catch(e)  &lt;br /&gt;     {  &lt;br /&gt;          var var4;  &lt;br /&gt;          // Accessible variables are var1 and var4  &lt;br /&gt;          // geeksajan: Even var2,var3 and index can be accessed.&lt;br /&gt;          &lt;br /&gt;     }  &lt;br /&gt;     finally  &lt;br /&gt;     {  &lt;br /&gt;          // Accessible variable is var1  &lt;br /&gt;          //geeksajan: var1 can be accessed even if declared within try.&lt;br /&gt;          //geeksajan: var2,var3,index can be accessed.&lt;br /&gt;          //geeksajan: var4 is available if there is an error in the try block ie execution navigates thru catch.Else undefined.                  &lt;br /&gt;&lt;br /&gt;     }  &lt;br /&gt;} &lt;br /&gt;- geeksajan&lt;br /&gt;  http://geeksajan.blogspot.com/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3024473168181472053/comments/default/8060970930100596920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3024473168181472053/comments/default/8060970930100596920'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/what-is-scope-of-variable-in.html?showComment=1258011299792#c8060970930100596920' title=''/><author><name>geeksajan</name><uri>http://www.blogger.com/profile/17475202698225138976</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.impossiblesiebel.com/2009/11/what-is-scope-of-variable-in.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3024473168181472053' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3024473168181472053' type='text/html'/></entry></feed>