Advertisement
rowers

Untitled

Jan 14th, 2014
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. procedure UtworzListe;
  2. var
  3. biez, kon: wsk;
  4. plik: text;
  5. s: string;
  6. begin
  7. assign(plik,'plik.txt');
  8. reset(plik);
  9. glowa:=NIL;
  10. while not Eof(plik) do
  11. begin
  12. readln(plik,s);
  13. new(biez);
  14. biez^.s:= s;
  15. if (glowa=nil) then
  16. glowa:=biez;
  17. kon:=biez;
  18. end;
  19. close(plik);
  20. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement