Read from 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

pl/prolog/pllib/read_from_file.txt · ostatnio zmienione: 2017/07/17 08:08 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0