The Development Environment


The System Transcript

The Transcript is a special window often used for systems output. You can use it to test code (like in a Workspace) or print results and error messages. The Transcript window is referenced by the global variable Transcript which is an instance of class TextCollector. There is always only one Transcript in the system.

Try Transcript show: 'helloWorld' to perform an output on the Transcript. Notice that the Transcript window must be visible if the output is done. The Transcript keeps its contents stored, that means if you close the window and open it again the contents will be visible again.

There are some messages usefull for putting data out on the Transcript:

Transcript clear.
Transcript
show:
'Test1'.
Transcript
space.
Transcript
show:
'Test2'.
Transcript
cr.
Transcript
show:
'Test3'.

Caused by the same receiver object of the messages you can simplify the expression to:

Transcript clear; show: 'Test1'; space; show: 'Test2'; cr; show: 'Test3'.

Evaluating this expression provides the follwing output on the Transcript:

Test1 Test2
Test3