mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 16:49:23 +02:00
* some small improvements for stored properties test
This commit is contained in:
parent
a9d8bfa1f7
commit
df2b62c551
@ -78,7 +78,7 @@ Type
|
||||
Procedure SetVirtualAnsiString ( Value : AnsiString ); virtual;
|
||||
Procedure SetVirtualMyEnum ( Value : TMyEnum ); virtual;
|
||||
Function GetStaticStored : Boolean;
|
||||
Function GetVirtualStored : Boolean;
|
||||
Function GetVirtualStored : Boolean;virtual;
|
||||
Public
|
||||
Constructor Create;
|
||||
Destructor Destroy;override;
|
||||
@ -120,7 +120,7 @@ Type
|
||||
Property StoredIntegerConstTrue : Longint Read FLongint Stored True;
|
||||
Property StoredIntegerField : Longint Read FLongint Stored FStored;
|
||||
Property StoredIntegerMethod : Longint Read Flongint Stored GetStaticStored;
|
||||
Property StoredIntegerVirtualMethod : Longint Read Flongint Stored GetStaticStored;
|
||||
Property StoredIntegerVirtualMethod : Longint Read Flongint Stored GetVirtualStored;
|
||||
end;
|
||||
|
||||
Constructor TMyTestObject.Create;
|
||||
@ -453,7 +453,7 @@ begin
|
||||
Writeln (' Storedproc available');
|
||||
Writeln (' Get property ',proctype(Propprocs));
|
||||
Writeln (' Set Property ',proctype(propprocs shr 2));
|
||||
Writeln (' Stored Property ',proctype(propprocs shr 2));
|
||||
Writeln (' Stored Property ',proctype(propprocs shr 4));
|
||||
Writeln (' Default : ',Default,' Index : ',Index);
|
||||
Writeln (' NameIndex : ',NameIndex);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user