Changeset 4 for ObjectBaseTypes/UMainForm.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/UMainForm.pas
r3 r4 57 57 Add(BoolToStr(Result.Value) + ' := ' + BoolToStr(Operand1.Value)); 58 58 59 // Ordinal60 Result.Value := False;61 Int := TInteger(Result.Ordinal);62 Add(IntToStr(Int.Value) + ' := ordinal ' + BoolToStr(Result.Value));63 64 Result.Value := True;65 Int := TInteger(Result.Ordinal);66 Add(IntToStr(Int.Value) + ' := ordinal ' + BoolToStr(Result.Value));67 68 59 // OrTo 69 60 Result.Value := True; … … 98 89 Bool := Result.EqualTo(Operand1); 99 90 Add(BoolToStr(Bool.Value) + ' := ' + Result.Value + '.EqualTo(' + Operand1.Value + ')'); 91 92 // Length 93 Result.Value := 'ABCD'; 94 Int := Result.Length; 95 Add(IntToStr(Int.Value) + ' := ' + Result.Value + '.Length'); 96 97 // Reverse 98 Operand1.Value := 'ABCD'; 99 Result.Assign(Operand1); 100 Result.Reverse; 101 Add(Result.Value + ' := ' + Operand1.Value + '.Reverse'); 100 102 end; 101 103 end;
Note:
See TracChangeset
for help on using the changeset viewer.