Home Segments Index Top Previous Next

462: Mainline

In Smalltalk, literal characters are denoted by a $ prefix. Thus, to insert the character X into a stream, you send the following message:

outputStream nextPut: $X