Type in the words(s) to search for:

    Mark results
      Userbooster Help

      class Statement

      Declares a class.

      class name [ : base class specification ] 
      compound statement 
            

      Arguments

      name

      A valid identifier of the class.

      base class specification

      A valid specification of the base scripting class type. This argument is optional.

      compound Statement

      Non-empty compound statement may contain definitions of properties, methods and local classes.

      Remarks

      A recursive inheritance specification causes a compilation error.

      Example

      class a
      {
          class b
          {
              ...
          };
      
          class c : a::b
          {
              ...
          };
      };
      
      class d : a::b
      {
          ...
      };