3

3



whłłe not eof(f) do begin

readlnff, a.Nr, a.X> | write(g,a);

:■ end;

close(g); close(f); g end;

BEGIN

11 przepiszl(h, Nr, X; Y);:

I END.

! program zad2;

type współrzędne = record Nrrword; Z:integer;end; var

g: file of współrzędne; b: współrzędne;

procedurę przepisz2(var b: współrzędne; var Nrrword; var Z: integer); begin

assign(g, 'z.dat'); reset(g); assignff, 'z.txt'); rewrite(f);

while not eof(g) do

begin

read(g,b);

writeln(f, b.Nr, b.z); end;


Wyszukiwarka

Podobne podstrony:
while not seek eof(g) or znalazłem do begin read(g,a.nr); read(g,a.x); read(g,a.y); i f a.nr =
65 (218) ClrScr; foi I 0 to 15 do begin TextColor (I); Writeln (Tekst); end; Readln; end. W tym prog
26 (683) begin Suma Suma+I; Write (Suma,  end; Writeln; Readln; end. Do tej pory wykorzystywal
); DROP TABLE płatności CASCADE; CREATE TABLE platnosci( nr_rezerwacji TEXT NOT NULL, do_z

więcej podobnych podstron