Stream.st
changeset 743 8d31a7568e44
parent 701 a309e3ef7faf
child 820 6d934f5d6cbc
equal deleted inserted replaced
742:a02a40052d0a 743:8d31a7568e44
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 
    12 
    13 Object subclass:#Stream
    13 Object subclass:#Stream
    14 	 instanceVariableNames:''
    14 	instanceVariableNames:''
    15 	 classVariableNames:'StreamErrorSignal PositionErrorSignal'
    15 	classVariableNames:'StreamErrorSignal PositionErrorSignal'
    16 	 poolDictionaries:''
    16 	poolDictionaries:''
    17 	 category:'Streams'
    17 	category:'Streams'
    18 !
    18 !
    19 
    19 
    20 !Stream class methodsFor:'documentation'!
    20 !Stream class methodsFor:'documentation'!
    21 
    21 
    22 copyright
    22 copyright
   834      s nextPutAll:#('one' 'two' 'three' 'four' 'five') startingAt:2 to:4.
   834      s nextPutAll:#('one' 'two' 'three' 'four' 'five') startingAt:2 to:4.
   835      s contents
   835      s contents
   836     "
   836     "
   837 !
   837 !
   838 
   838 
       
   839 nextPutLine:aCollection
       
   840     "put all elements of the argument, aCollection onto the receiver,
       
   841      and append a cr. This is only useful with character streams in textMode."
       
   842 
       
   843     self nextPutAll:aCollection.
       
   844     self cr.
       
   845 
       
   846     "Created: 13.12.1995 / 10:49:17 / cg"
       
   847 !
       
   848 
   839 print:anObject
   849 print:anObject
   840     "append a printed representation of anObject to the receiver.
   850     "append a printed representation of anObject to the receiver.
   841      Same as anObject printOn:self; For ST-80 compatibility."
   851      Same as anObject printOn:self; For ST-80 compatibility."
   842 
   852 
   843     anObject printOn:self
   853     anObject printOn:self
   887 ! !
   897 ! !
   888 
   898 
   889 !Stream class methodsFor:'documentation'!
   899 !Stream class methodsFor:'documentation'!
   890 
   900 
   891 version
   901 version
   892     ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.29 1995-12-07 21:38:34 cg Exp $'
   902     ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.30 1995-12-13 10:27:04 cg Exp $'
   893 ! !
   903 ! !
   894 Stream initialize!
   904 Stream initialize!