====== Read from file ====== {{tag>read/write file}} ===== Description ===== Reading from hard drive from file called "towary" **Source**: PROLOG str. 82 Wydawnictwo PLJ Warszawa 1991 ISBN 83-85190-63-5 ===== Download ===== Program source code: {{read_from_file.pl}} ===== Listing ===== get_data :- see(towary), read_rec, seen. read_rec :- read([A, B, C]), assertz(wyrob(A, B, C)), read_rec. read_rec. ===== Comments =====