Next Prev Up Top Contents Index

18.5 External Formats and File Streams

The :external-format argument of open and related functions should be an ef-spec, where the name can be :default . The symbol :default is the default value.

In this section, an ef-spec is "complete" if and only if the name is not :default and the parameters include :eol-style .

All external formats have an :eol-style parameter and if it is not explicit in an ef-spec a default is used. The allowed values are

:lf

This is the default on Unix/Linux systems, meaning that lines are terminated by Linefeed.

:crlf

This is the default on Windows, meaning that lines are terminated by Carriage-Return followed by Linefeed.

:cr

Lines are terminated by Carriage-Return.

18.5.1 Using complete external formats

18.5.2 Guessing the external format

18.5.3 External formats and stream-element-type

18.5.4 External formats and the LispWorks Editor


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index