![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Instead of displaying results in a workspace, you can arrange for Smalltalk to display results in the transcript, which is really just a special workspace. Conveniently, the transcript appears whenever you activate Smalltalk.
Before you can display a result in the transcript, however, you generally
must use the printString
method to produce an instance of the
String
class.
In a workspace, String
instances are marked by surrounding quotation
marks. Accordingly, when you select 1746 printString
, and click
right > Show It, you produce the following result:
1746 printString'1746'