双对象列表,双字符串列表[2]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 qiubolecn 的 blog

end;

function tdoublestring.data2getdata1(astring: string): string;
begin
  result := strings1.strings[indexofdata2(astring)];
end;

destructor tdoublestring.destroy;
begin
  strings1.free;
  strings2.free;
  inherited;
end;

function tdoublestring.indexofdata1(aindex: integer): string;
begin
  result := strings1.strings[aindex];
end;

function tdoublestring.indexofdata1(astring: string): integer;
begin
  result := strings1.indexof(astring);
end;

function tdoublestring.indexofdata2(astring: string): integer;
begin
  result := strings2.indexof(astring);
end;

function tdoublestring.indexofdata2(aindex: integer): string;
begin
  result := strings2.strings[aindex];

本文关键:双对象列表,双字符串列表
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top