begin
reset(f);
assignfile(f, 'data.txt');
Reset(f);
found:= false;
search := edit1.text ;
repeat
read(f, phone) ;
read(f, cusfname);
read(f, adress);
found:= search = phone
until eof(f) or found;
if found then
memo1.append(phone);
memo1.append(cusfname);
memo1.append(adress);
closefile(f) ;
if not found then showmessage('member not found');
Когда я запускаю это, я получаю файл runerror (102), которому не назначен ??????? p.s Я назначил переменные в процедуре публично.