Changeset 4 for ObjectBaseTypes/UObjectDouble.pas
- Timestamp:
- Jul 27, 2009, 3:19:14 PM (15 years ago)
- Location:
- ObjectBaseTypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ObjectBaseTypes
- Property svn:ignore
-
old new 3 3 TestApplication.res 4 4 *.dcu 5 *.~dsk
-
- Property svn:ignore
-
ObjectBaseTypes/UObjectDouble.pas
r3 r4 3 3 interface 4 4 5 uses 6 UObjectNumber, UObjectTypeBase, UObjectBoolean; 7 8 type 9 TDouble = class(TInterfacedObject, IAssignable, IOrderable) 10 procedure Assign(Source: TInterfacedObject); 11 function HigherThen(Operand: IOrderable): TBoolean; 12 function LowerThan(Operand: IOrderable): TBoolean; 13 function Max(Operand1, Operand2: IOrderable): IOrderable; 14 function Min(Operand1, Operand2: IOrderable): IOrderable; 15 end; 16 5 17 implementation 6 18 19 { TDouble } 20 21 procedure TDouble.Assign(Source: TInterfacedObject); 22 begin 23 24 end; 25 26 function TDouble.HigherThen(Operand: IOrderable): TBoolean; 27 begin 28 29 end; 30 31 function TDouble.LowerThan(Operand: IOrderable): TBoolean; 32 begin 33 34 end; 35 36 function TDouble.Max(Operand1, Operand2: IOrderable): IOrderable; 37 begin 38 39 end; 40 41 function TDouble.Min(Operand1, Operand2: IOrderable): IOrderable; 42 begin 43 44 end; 45 7 46 end.
Note:
See TracChangeset
for help on using the changeset viewer.