|
Re: troubleshooting question: msg#00166lang.smalltalk.squeak.beginners
Perhaps you could describe what you actually want to achieve. Squeak is different from other programming environments. Some things are much easier, some are much harder than in other systems. In a way, Squeak pretends to be its own operation system (it indeed can run on bare hardware). That makes it harder to do a "hello world" that writes to the "other" operating system's stdout. Other things, like animated graphics or sound are much easier in Squeak than elsewhere. The Squeak "hello world" is simple to show that string on the Transcript. Or even better self inform: 'hello world' Note that working with Squeak is much more immediate than you might be used to. For example, you should just select "OSProcess thisOSProcess stdOut" and press Cmd-p to see the result, rather than logging it to the Transcript. Or, press Cmd-i to inspect it. You should learn to use the debugger - read what it actually says, and explore. For example, "UndefinedObject does not understand: #nextPutAll:" simply means you sent the message "nextPutAll:" to nil (an instance of class UndefinedObject), which cannot understand that message, and says so. Same thing with a "self halt": you do not get an error, the reddish window simply is a friendly debugger to examine the code about to be executed. - Bert - Am 20.07.2006 um 20:03 schrieb Thomas Keller: Perhaps this is the problem?
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: troubleshooting question, Thomas Keller |
|---|---|
| Next by Date: | inserting images with Seaside, Thomas Keller |
| Previous by Thread: | Re: troubleshooting question, Thomas Keller |
| Next by Thread: | Re: troubleshooting question, David T. Lewis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |