Mam program który tworzy na dysku zbiór i zapisuje do niego wprowadzone z klawiatury info.( w tym przypadku o ksiażkach)
Program AM38;
type info = record
numer :Integer;
autor :string[40];
tytul :string[100]
end;
var koniec :Boolean;
dane :info; // * TUTAJ
katalog :file of info;
begin
Assign (katalog, 'BIBL.TXT');
Rewrite(katalog);
koniec:=false;
repeat
Writeln;
Write('numer: ');
readln(dane.numer);
if(dane.numer<1) or (dane.numer>1000)
then koniec:=Trues
else begin
write('autor: ');
readln(dane,autor);
write('tytul: ');
readln(dane,tytul);
Write(katalod,dane);
end
until koniec:=True;
Close(katalog);
end.
Mam Pytanie
Co robi do czego sluzy info, nie rozumiem co to wgl jest
W var Oznaczylem je w komentarzu * żebyście łatwiej znaleźli
Prosze o pomoc !!