这个程序小弟有几处不明白,高手们帮忙。
nnhn 2003-03-05 08:07:34 var
i:integer;
str,str1:string;
MyStringList:TStringList;
begin
MyStringList:=TStringList.create;
str:='0102030405'
for i:=0 to length(str) div 2 -1 do
begin
MyStringList.add(Copy(str,i*2+1,2)+' ');
end;
for i:=0 to MyStringList.count-1 do
begin
str1:=str1+MyStringList.Strings[i];
end;
MyStringList.free;
end;
MyStringList:TStringList;是定义的什么数据类型,
MyStringList:=TStringList.create;
str1:=str1+MyStringList.Strings[i];这几句是什么意思。