reading data from a file



Hi Fabrizio,

> For example from a file containing a some lines
> seperated by CR and each containing some
> numbers separated by spaces.

It sounds like you want read_list, read_nested_list, or read_matrix
from the numericalio package. (The name is a misnomer;
non-numeric atoms are OK too.) ? read_ at the input prompt
should find information about those functions.
load(numericalio) loads the functions. Example:

load(numericalio);
M : read_matrix ("my_data1.txt");
L : read_nested_list ("my_data2.txt");

The read_* functions in numericalio read an entire file;
they do not read one number or line at a time.
For that you'll have to write something in Lisp.

Hope this helps
Robert