Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>scope </b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Scope 


   . A command clause that specifies a range of database records to be
     addressed by the command.  The scope clause uses the qualifiers
     ALL, NEXT, RECORD, and REST to define the record scope.


   . The part of the program where a memory variable is defined.  In
     Clipper there are two classes of memory variable scope: public and
     private.  The scope of a public memory variable is all procedures
     and user-defined functions in a program system.  The scope of a
     private memory variable is the procedure in which it is created and
     all procedures and user-defined functions below it.  This means
     that when the procedure where a memory variable is created
     terminates, the memory variable is released.

     Moreover, all memory variables are private unless explicitly
     declared PUBLIC.  Declaring memory variables PRIVATE, by contrast,
     hides public and inherited private memory variables created in
     other procedures and creates a new variable whose scope is the
     current procedure.


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