Programmer's Reference

Accessing

close, lineDelimiter, lineDelimiter:, size, contents

Note:
As discussed above, the access methods lineDelimiterand lineDelimiter: make it possible to read and write Strings in a portable manner by ensuring correct semantics for the messages cr and nextLine. The Blue Book method reverseContents was omitted, because it is equivalent to sending contents reverse. The message close is included to support polymorphic programming using CLDT streams and Common File System file streams. Sending close to a CLDT stream has no effect. The message size is not in the Blue Book but the need seems obvious.
Porting tip:
The messages lineDelimiter and lineDelimiter: are not supported by either Objectworks\Smalltalk or Smalltalk/V.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]