File: ok_interface_implicit.pas

package info (click to toggle)
pasdoc 0.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 33,536 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 519; sh: 417
file content (26 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
unit ok_interface_implicit;

interface

type
  IMyInterface = interface
    procedure PublicMethod;
  end;

  TMyRecord = record
    PublicField: Integer;
  end;

  TMyPackedRecord = packed record
    PublicField: Integer;
  end;

  TMyClass = class
    ImplicitField: Integer;
  public
    PublicField: Integer;
  end;

implementation

end.