Results 1 to 3 of 3

Thread: Name this (Delphi) language feature

  1. #1

    Name this (Delphi) language feature

    Code:
    type
      TSomething = record
        private const
          A = 1;
        private type
          TBlaah = packed record
            X: Byte;
            Z: Byte;
            FF: Byte;
          end;
        private
          Dog: Integer;
        public
          function Mix(const Color1: byte; const Color2: byte): String;
      end;
    I thought methods and properties were only for classes. What is the name of this feature, where can I read about it?

  2. #2

  3. #3

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •