[Newbies] smalltalk and squeak

James O'Brien obrienjs at comcast.net
Fri Nov 18 07:16:13 UTC 2011

Thank you for your suggestions.

I guess I'm thinking in terms of HyperCard. With HyperCard I could 
script a button, field, card, stack, etc. With Squeak, I can't figure 
out to change what the calculator's buttons do. If had created the 
calculator with HyperCard, I could easily change how its buttons work. 
Just open them and there's the script.

I've tried using the Browser, but can't access the Smalltalk code for 
the calculator, whether I create it with Smalltalk in the Workspace or 
build it using Morphic. Still don't get it.

On 11/17/11 9:47 PM, Casey Ransberger wrote:
> Squeak is the original Smalltalk system. It was rebranded at Apple, 
> because no one there wanted to hear anything else about Smalltalk.
> I wonder: are you wondering what the difference between the 
> environment and the language is?
> The environment is implemented by the language.
> The best single text is the "Blue Book" which is called Smalltalk: the 
> Language and its Environment.
> That the language implements the environment is insanely powerful. 
> This will eventually start to make sense if you stick with it.
> You should look for the Class Browser.  One way to reach it is to 
> highlight a class name (try Object) and do either command-b or 
> control-b (on Windows, possibly Linux too, but I don't use these so it 
> might be alt, not control.)
> You put your code into the browser when you want to keep it. Smalltalk 
> is a kind of object database. Your code lives in this object database.
> If this doesn't answer your question, feel free to reframe it, but 
> look for that browser.
> Hope this helps!
> Casey
> On Nov 17, 2011, at 9:25 PM, James O'Brien <obrienjs at comcast.net 
> <mailto:obrienjs at comcast.net>> wrote:
>> I don't get the connection between smalltalk and squeak. For example, 
>> I can code a counter with smalltalk in the workspace. When I do it a 
>> functioning counter appears. When I close the workspace the 
>> calculator still works, but what happens to the code? Where is it? If 
>> I open a viewer of one of the buttons and change the button's color, 
>> what happens to the code I started with? Where is it? How do I view 
>> it again?
>> I can also build a calculator with squeak as described at 
>> http://wiki.squeak.org/squeak/1827. But, again, where is the 
>> smalltalk code?
>> _______________________________________________
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org 
>> <mailto:Beginners at lists.squeakfoundation.org>
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20111117/8a08dac0/attachment-0001.htm

More information about the Beginners mailing list