/[guile]/guile/guile-core/doc/ref/scheme-io.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/scheme-io.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by kryde, Sat May 3 23:00:53 2003 UTC revision 1.10 by kryde, Sun May 4 00:40:13 2003 UTC
# Line 180  Return the print state of the port @var{ Line 180  Return the print state of the port @var{
180  has no associated print state, @code{#f} is returned.  has no associated print state, @code{#f} is returned.
181  @end deffn  @end deffn
182    
183    @rnindex write
184    @deffn {Scheme Procedure} write obj [port]
185    Send a representation of @var{obj} to @var{port} or to the current
186    output port if not given.
187    
188    The output is designed to be machine readable, and can be read back
189    with @code{read} (@pxref{Reading}).  Strings are printed in
190    doublequotes, with escapes if necessary, and characters are printed in
191    @samp{#\} notation.
192    @end deffn
193    
194  @rnindex display  @rnindex display
195  @deffn {Scheme Procedure} display obj [port]  @deffn {Scheme Procedure} display obj [port]
196  Send a representation of @var{obj} to @var{current-output-port}.  Send a representation of @var{obj} to @var{port} or to the current
197  Optional second arg @var{port} specifies an alternative output port.  output port if not given.
198  The representation is similar to that produced by @code{write} (REFFIXME),  
199  the differences being strings are not quoted (and their characters are not  The output is designed for human readability, it differs from
200  escaped), and characters are rendered as if with @code{write-char}.  @code{write} in that strings are printed without doublequotes and
201    escapes, and characters are printed as per @code{write-char}, not in
202    @samp{#\} form.
203  @end deffn  @end deffn
204    
205  @rnindex newline  @rnindex newline

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26