mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 07:00:41 +01:00
* Classes no longer needed.
This commit is contained in:
parent
fe46d024db
commit
b37fc98b9e
@ -1,5 +1,7 @@
|
|||||||
Program testrtti;
|
Program testrtti;
|
||||||
|
|
||||||
|
Uses Typinfo;
|
||||||
|
|
||||||
{$M+}
|
{$M+}
|
||||||
|
|
||||||
Uses
|
Uses
|
||||||
@ -17,9 +19,8 @@ Const TypeNames : Array [TTYpeKind] of string[15] =
|
|||||||
Const OrdinalTypes = [tkInteger,tkChar,tkENumeration,tkbool];
|
Const OrdinalTypes = [tkInteger,tkChar,tkENumeration,tkbool];
|
||||||
|
|
||||||
Type
|
Type
|
||||||
TMyEnum = (meFirst,meSecond,meThird);
|
TMyEnum = (meFirst,meSecond,meThird);
|
||||||
|
TMyTestObject = Class(TObject)
|
||||||
Type TMyTestObject = Class
|
|
||||||
Private
|
Private
|
||||||
FBoolean : Boolean;
|
FBoolean : Boolean;
|
||||||
FByte : Byte;
|
FByte : Byte;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user