![]() |
![]() |
![]() |
![]() |
![]() |
|
You also can read and write individual characters using streams. To read a
character, you send the next message to the stream:
inputStream next
To write a character into a file, you send the nextPut: message
with a character argument:
outputStream nextPut: a character