Hello World Example
In the following code, the message "show:" is sent to the object "Transcript" with the String literal 'Hello, world!' as its argument. Invocation of the "show:" method causes the characters of its argument (the String literal 'Hello, world!') to be displayed in the transcript ("terminal") window.
Transcript show: 'Hello, world!'.Note that a Transcript window would need to be open in order to see the results of this example.
Read more about this topic: Smalltalk
Famous quotes containing the word world:
“We, too, had good attendance once,
Hearers and hearteners of the work;
Aye, horsemen for companions,
Before the merchant and the clerk
Breathed on the world with timid breath.”
—William Butler Yeats (18651939)
Related Subjects
Related Phrases
Related Words