reader
ï
The reader
object provides portable predicates for reading text file
and text stream contents to lists of terms, characters, or character
codes and for reading binary files to lists of bytes. The text file API
is loosely based on the SWI-Prolog readutil
module.
API documentationï
Open the ../../docs/library_index.html#reader link in a web browser.
Loadingï
To load all entities in this library, load the loader.lgt
file:
| ?- logtalk_load(reader(loader)).
Testingï
To test this library predicates, load the tester.lgt
file:
| ?- logtalk_load(reader(tester)).