Category: Streams
Superclass: Stream
I am a thread-safe class that maps between standard Stream protocol and a single message to another object (its selector is pluggable and should roughly correspond to #nextPutAll:). I am, in fact, the class that implements the global Transcript object.

Method category index

accessing (class)
accessing (instance)
printing (instance)
set up (instance)
storing (instance)

accessing (class)

message: receiverToSelectorAssociation
Answer a new instance of the receiver, that uses the message identified by anAssociation to perform write operations. anAssociation's key is the receiver, while its value is the selector.

new

This method should not be called for instances of this class.

top


accessing (instance)

cr
Emit a new-line (carriage return) to the Transcript

critical: aBlock

Evaluate aBlock while holding the Transcript lock

endEntry

Emit two new-lines. This method is present for compatibility with VisualWorks.

next: anInteger put: anObject

Write anInteger copies of anObject to the Transcript

next: n putAll: aString startingAt: pos

Write aString to the Transcript

nextPut: aCharacter

Emit aCharacter to the Transcript

show: aString

Write aString to the Transcript

showCr: aString

Write aString to the Transcript, followed by a new-line character

showOnNewLine: aString

Write aString to the Transcript, preceded by a new-line character

top


printing (instance)

print: anObject
Print anObject's representation to the Transcript

printOn: aStream

Print a representation of the receiver onto aStream

top


set up (instance)

message
Answer an association representing the message to be sent to perform write operations. The key is the receiver, the value is the selector

message: receiverToSelectorAssociation

Set the message to be sent to perform write operations to the one represented by anAssociation. anAssociation's key is the receiver, while its value is the selector

top


storing (instance)

store: anObject
Print Smalltalk code which evaluates to anObject on the Transcript

storeOn: aStream

Print Smalltalk code which evaluates to the receiver onto aStream

top