read_maxima_array SciMax Toolbox read_xpm

SciMax Toolbox >> read_nested_list

read_nested_list

Maxima Function

Calling Sequence

read_nested_list (file_name)
read_nested_list(file_name,separator_flag)
read_nested_list(S)
read_nested_list(S,separator_flag)

Description

Reads the file file_name or file stream S and returns its entire content as a nested list. If separator_flag is not specified, the file is assumed space-delimited.

read_nested_list returns a list which has a sublist for each line of input. Lines need not have the same numbers of elements. Empty lines are not ignored: an empty line yields an empty sublist.

read_maxima_array SciMax Toolbox read_xpm