Did you know ... Search Documentation:
Pack xlibrary -- prolog/read_file.pl
PublicShow source

Predicate to read files on backtracking

author
- Edison Mera
 read_file(+File, -Term) is multi
Unifies Term with the lines in File, and allows to get the next lines on backtracking. The terms are read using read_term(Stream, Term, []).