<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how a statics variable different from global variable... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-a-statics-variable-different-from-global-variable/m-p/2726698#M632845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following syntaxes to declare a static variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. STATICS f.&lt;/P&gt;&lt;P&gt;2. STATICS f(len).&lt;/P&gt;&lt;P&gt;3. STATICS: BEGIN OF rec,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END OF rec.&lt;/P&gt;&lt;P&gt;4. STATICS: BEGIN OF itab OCCURS n,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END OF itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static validity means that, unlike normal local variables, the life of static variables does not depend on the defining procedure, but on the program at runtime. Static variables are thus not redefined on the stack each time the defining procedure is called, but exist independently of this in the program and keep their value, regardless of calls to the defining procedure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Variable:&lt;/P&gt;&lt;P&gt;global variable is a variable that is accessible in every scope.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 15:09:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T15:09:15Z</dc:date>
    <item>
      <title>how a statics variable different from global variable...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-a-statics-variable-different-from-global-variable/m-p/2726697#M632844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;explain the span of these two kind of varaiables in subroutines..with a simple example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guyz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 14:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-a-statics-variable-different-from-global-variable/m-p/2726697#M632844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T14:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: how a statics variable different from global variable...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-a-statics-variable-different-from-global-variable/m-p/2726698#M632845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following syntaxes to declare a static variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. STATICS f.&lt;/P&gt;&lt;P&gt;2. STATICS f(len).&lt;/P&gt;&lt;P&gt;3. STATICS: BEGIN OF rec,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END OF rec.&lt;/P&gt;&lt;P&gt;4. STATICS: BEGIN OF itab OCCURS n,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END OF itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static validity means that, unlike normal local variables, the life of static variables does not depend on the defining procedure, but on the program at runtime. Static variables are thus not redefined on the stack each time the defining procedure is called, but exist independently of this in the program and keep their value, regardless of calls to the defining procedure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Variable:&lt;/P&gt;&lt;P&gt;global variable is a variable that is accessible in every scope.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 15:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-a-statics-variable-different-from-global-variable/m-p/2726698#M632845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T15:09:15Z</dc:date>
    </item>
  </channel>
</rss>

