More beginner's questions

Philippe de Rochambeau pr1 at club-internet.fr
Fri Jan 30 08:45:53 UTC 1998


I am reading through Wilf Lalonde's "Discovering Smalltalk" and attempting to
run the following code in Squeak:

| aPen |
aPen := Display pen.
aPen place 100 at 100.
aPen goto: 200 at 100.
aPen goto: 200 at 200.

etc.

What is the equivalent of the "aPen := Display pen." line in Squeak?

Furthermore, what is the equivalent of "Prompter prompt: "Your name?" default:
'Wilf'" in Squeak?

Many thanks.

Philippe de Rochambeau





More information about the Squeak-dev mailing list