Ignore:
Timestamp:
Jan 1, 2011, 1:34:29 AM (14 years ago)
Author:
george
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Demo/UMainForm.pas

    r88 r107  
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    99  ComCtrls, SpecializedList, SpecializedDictionary, SpecializedQueue,
    10   DateUtils, SpecializedObjectList;
     10  DateUtils;
    1111
    1212type
     
    3636  private
    3737  public
    38     procedure WriteLn(Text: string);
     38    Bitmap: TBitmap;
     39    procedure WriteLn(Text: string = '');
    3940  end;
    4041
     
    6162  List := TListInteger.Create;
    6263  with List do try
     64    WriteLn('AddArray([10, 20, 30, 40])');
    6365    AddArray([10, 20, 30, 40]);
    6466    WriteLn('Implode: ' + Implode(',', IntToStr));
     
    7476    WriteLn('Last: ' + IntToStr(Last));
    7577    MoveItems(3, 2, 3);
     78    WriteLn('Implode: ' + Implode(',', IntToStr));
     79    WriteLn('Insert(5, 11)');
     80    Insert(5, 11);
    7681    WriteLn('Implode: ' + Implode(',', IntToStr));
    7782  finally
     
    275280  try
    276281    List2 := TList.Create;
     282    WriteLn;
    277283    WriteLn('Test TList...');
    278284    StartTime := Now;
     
    395401    Dictionary2 := TStringList.Create;
    396402    Dictionary2.NameValueSeparator := '|';
     403    WriteLn;
    397404    WriteLn('TStringList...');
    398405    I := 0;
     
    468475end;
    469476
    470 procedure TMainForm.WriteLn(Text: string);
     477procedure TMainForm.WriteLn(Text: string = '');
    471478begin
    472479  MemoOutput.Lines.Add(Text);
Note: See TracChangeset for help on using the changeset viewer.