open-output-file

(open-output-file file-path)


Description:

Takes a string naming an output file to be created and returns an output port capable of writing characters to a new file by that name. If the file cannot be opened, an error is signalled. If a file with the given name already exists, the effect is unspecified.


Arguments:

      file-path -- fully qualifed path to file


Returns: path


Examples:



Back to index