Курсовая работа: Розрахунок норм вектору
begin
writeRec: =matrRecLink (mainList [i]) ^;
write (f,writeRec);
end;
end;
end;
procedure TmatrEditor. Open1Click (Sender: TObject);
var writeRec: matrRec;
begin
fl: =openD. Execute;
operList. Clear;
mainList. Clear;
if fl then
begin
filePath: =openD. FileName;
assignFile (f,filePath);
reset (f);
while not (eof (f)) do
begin
new (nowEl);
read (f,nowEl^);
mainList. Add (nowEl);
newItem: =operList. Items. Add;
newItem. Caption: =nowEl^. strName;
if nowEl^. typeOf=vect then
newItem. SubItems. Add ('Vector')
else
newItem. SubItems. Add ('Matrix');
if operList. Items. Count>0 then