up: IO     index Zimbu documentation

INTERFACE IO.I_Writer @public

summary

     

An interface for any class that can write a string.

Can be implemented to write to a file, append to a string, etc. Most implementations will want to extend the IO.Writer class.

$write(text) status @file  Writes text.
$print(text) status @file  Writes text and appends a newline.
 
Known implementing classes:
     
 

members (alphabetically)

     

FUNC $print(string text) status @abstract @file

     

Writes text and appends a newline.

Returns FAIL when the text could not be written.

FUNC $write(string text) status @abstract @file

     

Writes text.

Returns FAIL when the text could not be written.

license

      Copyright 2009 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0