Program UKAZ01B; uses CRT; type COSI = string[10]; WSKAZ= ^STRU; STRU = record IM : COSI; WS : WSKAZ; end; var LIST, NOVY, NEXT, PRE : WSKAZ; CH:char; Procedure OUTLIST(var FLIST:WSKAZ); var H:WSKAZ; begin H:=LIST; repeat Writeln(H^.IM); H:=H^.WS until H=nil; end; begin ClrScr; new(LIST); {tvorba a naplneni prvni polozky} with LIST^ do begin Write('Zadej prvni jmeno: '); Readln(IM); WS := nil; end; repeat new(NOVY); {tvorba a naplneni dalsi polozky} with NOVY^ do begin Write('Zadej dalsi jmeno: '); Readln(IM); WS := nil; end; {zarazeni dalsi polozky dle velikosti do seznamu} NEXT:=LIST; repeat if NOVY^.IM