Changeset 278 for trunk/UUnit.pas
- Timestamp:
- Feb 14, 2019, 10:25:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UUnit.pas
r277 r278 36 36 procedure SaveToNode(Node: TDOMNode); 37 37 constructor Create(FreeObjects: Boolean = True); 38 procedure Assign(Source: TUnitKinds); 38 39 end; 39 40 … … 353 354 end; 354 355 356 procedure TUnitKinds.Assign(Source: TUnitKinds); 357 var 358 I: Integer; 359 begin 360 while Count > Source.Count do Delete(Count - 1); 361 while Count < Source.Count do AddNew(''); 362 for I := 0 to Count - 1 do 363 Items[I].Assign(Source.Items[I]); 364 end; 365 355 366 end. 356 367
Note:
See TracChangeset
for help on using the changeset viewer.