Ignore:
Timestamp:
Sep 8, 2012, 9:28:39 PM (12 years ago)
Author:
chronos
Message:
  • Updated: Component versions.
  • Added: Missing forms.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        33backup
        44tunneler.exe
         5heaptrclog.trc
  • trunk/Components/TemplateGenerics

    • Property svn:ignore set to
      lib
  • trunk/Components/TemplateGenerics/Generic/GenericListString.inc

    r29 r30  
    1818    procedure Clear; override;
    1919    procedure Assign(Source: TGList); override;
    20     constructor Create;
     20    function IndexOf(Item: TGListItem; Start: TGListIndex = 0): TGListIndex; override;
     21    constructor Create; override;
    2122    destructor Destroy; override;
    2223  end;
     
    7172end;
    7273
     74function TGListString.IndexOf(Item: TGListItem; Start: TGListIndex): TGListIndex;
     75begin
     76  Result := Start;
     77  while (Result < Count) and
     78  (CompareStr(FItems[Result], Item) <> 0) do
     79    Result := Result + 1;
     80  if Result = FCount then Result := -1;
     81end;
     82
    7383constructor TGListString.Create;
    7484begin
Note: See TracChangeset for help on using the changeset viewer.