Author(s): The CLIP Group.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.11#93 (2003/12/21, 2:30:33 CET)
This module implements the file I/O utilities.
file_utils
)file_utils
)
Usage 1: file_terms(File, Terms)
File
to/from a list of terms Terms
.
File
is a source name.
(streams_basic:sourcename/1
)
Terms
is a list.
(basic_props:list/1
)
File
is not further instantiated.
(basic_props:not_further_inst/2
)
Usage 2: file_terms(File, Terms)
Terms
with the list of all terms in File
.
File
is a source name.
(streams_basic:sourcename/1
)
Terms
is a free variable.
(term_typing:var/1
)
File
is a source name.
(streams_basic:sourcename/1
)
Terms
is a list.
(basic_props:list/1
)
Usage 3: file_terms(File, Terms)
Terms
(including the ending '.') onto file File
.
File
is a source name.
(streams_basic:sourcename/1
)
Terms
is a list.
(basic_props:list/1
)
File
is a source name.
(streams_basic:sourcename/1
)
Terms
is a list.
(basic_props:list/1
)
Usage: copy_stdout(File)
File
to standard output.
File
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
File
is a source name.
(streams_basic:sourcename/1
)
Usage: file_to_string(FileName, String)
FileName
and returns them in String
.
FileName
is a source name.
(streams_basic:sourcename/1
)
String
is a string (a list of character codes).
(basic_props:string/1
)
FileName
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
String
is a free variable.
(term_typing:var/1
)
Usage: stream_to_string(Stream, String)
Stream
and returns them in String
.
Stream
is an open stream.
(streams_basic:stream/1
)
String
is a string (a list of character codes).
(basic_props:string/1
)
Stream
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
String
is a free variable.
(term_typing:var/1
)
Go to the first, previous, next, last section, table of contents.