Specifies protected member access control in a
Type or
Class
Syntax
Type typename
Protected:
member declarations
End Type
Parameters
typename
member declarations
declarations for fields, functions, or enumerations
Description
Protected: indicates that
member declarations following it have protected access. Protected members are accessible only from inside a member function for the
Type or
Class, and classes which are derived from the
Type or
Class.
member declarations following
Protected: are protected until a different access control specifier is given, like
Private: or
Public:.
Members in a
Type declaration are
Public: by default if no member access control specifier is given.
NOTE: This keyword is useful only since fbc version 0.24 because inheritance is then supported.
Example
'' Example pending classes feature ...
Dialect Differences
Differences from QB
See also