[Newbies] smalltalk and squeak

dimitris chloupis thekilon at yahoo.co.uk
Fri Nov 18 08:59:04 UTC 2011


I am also very interested in this question. I can create a morph with drag and drop and inspect it , but i cant change its variables in any way. Also the System / Class browser you mention is only for class definition , and not giving access to instance objects . For example an instance object will have its own size and of course its own location , how can I access these variables of that specific object ? Is there is way to edit a specific object, access its variables and functions or even assign it to a variable by using only the IDE ? 



________________________________
 From: James O'Brien <obrienjs at comcast.net>
To: A friendly place to get answers to even the most basic questions about Squeak. <beginners at lists.squeakfoundation.org> 
Sent: Friday, 18 November 2011, 9:16
Subject: Re: [Newbies] smalltalk and squeak
 

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> 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
>>http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
>
>_______________________________________________
Beginners mailing list 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/20111118/508d9499/attachment-0001.htm


More information about the Beginners mailing list