Вниз
Скачать: CL | DM;

вопрос по работе с TStringList   Найти похожие ветки 

 
~Shaman~ ©   (2004-09-16 13:35) [0]

var: m: TStringList;
begin
m:= TStringList.Create;
m.Duplicates:=dupIgnore;
{присваиваю переменной s значение}
m.Append(s);
end;

В результате, несмотря на dupIgnore строки повтаряются. Что я не так делаю?


 
begin...end ©   (2004-09-16 13:42) [1]

F1

TStringList.Duplicates

...

Note: Duplicates does nothing if the list is not sorted.

?


 
kukuikar ©   (2004-09-16 13:52) [2]


> begin...end ©   (16.09.04 13:42) [1]
> F1
>
> TStringList.Duplicates
>
> ...
>
> Note: Duplicates does nothing if the list is not sorted.
>
> ?


var: m: TStringList;
begin
m:= TStringList.Create;
m.Sorted:=true;
m.Duplicates:=dupIgnore;
{присваиваю переменной s значение}
m.Append(s);
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.022 c
8-1088862420
Tahion2
2004-07-03 17:47
2004.10.03
Как Разбить иконку на каналы (выделить Альфа-канал)


1-1095276056
lipskiy
2004-09-15 23:20
2004.10.03
Почему ComponentCount не включает в себя динамические объекты?


4-1093807352
romario
2004-08-29 23:22
2004.10.03
Отладка DLL проекта


6-1091039432
Боян Георгиев
2004-07-28 22:30
2004.10.03
File not found: MNConst.dcu !!!!!!


6-1090498953
diMAN
2004-07-22 16:22
2004.10.03
Многочисленные Arp-запросы




   Наверх