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 Clip-4-Win version 3.0 - http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  
  As in the examples above, you can make instance variables
  accessible by class users with the EXPORT <name> (or EXPORTED
  <name>) syntax.  You can also create instance variables that
  are available only inside the methods of the class.  By far
  the commonest way is to define the instance variable using the
  syntax:
  
            PROTECT <name>    [ AS <type> ]
  
  You can use PROTECTED instead of PROTECT, if you like.
  
  Less common, and with a different meaning, is:
  
            HIDDEN <name>    [ AS <type> ]
  
  The difference is that protected instance variables are
  inherited by sub-classes, but hidden ones are not.  A class
  can't use "super:" to find something that's hidden in a parent
  class (it really is hidden).  Don't regard HIDDEN as 100% safe
  from prying eyes, as Clipper and VO are not designed as high-
  security environments.
  
  The supported types include ANY, USUAL (same as ANY), INT,
  LONG, SHORT, WORD, NUMERIC, STRING, LOGIC, BLOCK, CODEBLOCK
  (same as BLOCK), DATE, ARRAY and OBJECT.
  
  TopClass also allows you to define an instance variable as
  READONLY.  The VO equivalent is to use a protected instance
  variable and an ACCESS (see below).
  
  

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