Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Release Notes - <b>139 new: static</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 139 NEW: STATIC
--------------------------------------------------------------------------------

     STATIC is a new statement that declares variables and arrays that
     have a lifetime of the entire program.

     Variables declared as static may be assigned an initial value as
     part of the STATIC statement using the in-line assignment (:=)
     operator.

     The visibility of a static variable is limited to the declaring
     procedure or function.

     If declared before the first procedure or function declaration in
     a program (.prg) file compiled with the /N option, static variables
     are visible anywhere in the file.  This is referred to as file-wide
     scope.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson