BpcStringList

From RiskWiki
Revision as of 06:37, 12 April 2026 by Bishopj (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TStringlist Name/Value pair manipulation

Language: Delphi 7 - 2007


interface
uses Classes, Types ;

type

TbpcStringList = class(TStringList)
public
  function GetValue(index : integer) : string;
  function ReadValue(index : string; defval : string) : string;
  procedure SetValue(Index: Integer; const Value: String);
  procedure AddStrArray( strArray : TStringDynArray );
  property Value[Index:Integer] : string read GetValue write SetValue;
end;

BackLinks