![]() |
![]() |
![]() |
![]() |
![]() |
|
Once you have opened a file for output, you can write information into that
file by sending nextPutAll: and cr messages to the stream. For
example, the following writes the string 'Carrots', followed by a
carriage return, into a file via outputStream:
outputStream nextPutAll: 'Carrots'; cr