Hello,
I don't really know how to answer.
Are your examples really from smalltalk-80 ? Were they running on the Xerox-D microcoded machine ? Because I don't think there are anymore smalltalk-80 available right now, nor machine that can run it. There's a smalltalk-78 running on javascript on the web but that's a bit different.
Here you're on the Pharo mailing list, which is a smalltalk which has evolved during 35 years starting from smalltalk-80, so it's quite different from smalltalk-80 right now (for example, closures and exceptions were added, support for modern computers too).
To use window as you are doing something like that works:
| window |
window := StandardWindow new.
window title: 'Hello World' .
window open
However nowadays people use frameworks to build UIs in Pharo, not such APIs. So it depends what you want to do.