read_file — Logtalk APIs v3.47.0 documentation

category

# `read_file`

Utility predicates for parsing a file as a list of atoms.

Author: Robert Sasak, Charles University in Prague. Adapted to Logtalk by Paulo Moura.
Version: 1:0:0
Date: 2011-08-04
Compilation flags:
`static`
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

- Public predicates

  - `read_file/2`

- Protected predicates

- Private predicates

- Operators

## Public predicates

### `read_file/2`

Reads a file character by character, parsing it into a list of atoms.

Compilation flags:
`static`
Template:
`read_file(File,List)`
Mode and number of proofs:
`read_file(+atom,-list(atom))` - `one`

## Protected predicates

(none)

## Private predicates

(none)

## Operators

(none)