<html xmlns="">
<pre>Hi Duke,</pre>
<pre>Are you using the Demo.snap snapshot or the Clean.snap snapshot?</pre>
<pre>Playing with the world in Demo.snap might help you.</pre>
<pre>To answer the specific question:</pre>
<pre>Right click on the background somewhere so that a menu comes up, and choose "New Shell..."</pre>
<pre>This creates a shell object. Click the little 'E' button in the top right to open a textbox. Expressions typed into that box are done in the context of the object. (You can do this on any object)</pre>
<pre>Type '()' and click 'Get'. This will get an empty object. Dump it on the background somewhere.</pre>
<pre>If you right click on your new empty document, a menu will pop up and you should be able to see an option to add a slot. Do that, and enter 'balance <- 100' and click the green bar.</pre>
<pre>Et voila!</pre>
<pre>:) Russell</pre>
<pre>On Tue, 1 Feb 2011 22:13:17 -0700 (MST), Duke Normandin wrote:
> On Tue, 1 Feb 2011, Casey Ransberger wrote:
>
> >
> > On Jan 31, 2011, at 3:01 PM, "cgnormandin" wrote:
> >
> > > Hello list!
> > >
> > >
> > > I've dabbled with Smalltalk Squeak, and GNU Smalltalk. Didn't
> get
> > > too far ;( OOP has been a real struggle for me. Hoping Self will
> > > change all of that.
> > >
> > > Is there a "Self by Example", or something similar? I need to
> get
> > > familiar with the VM, as well as the language itself. Much
> obliged
> >
> > On the self website, under documentation, there's a pretty good
> > tutorial. It'd be nice to have more of that stuff. I'm new to self
> > too:)
>
> You bet! I say that and am reading it. However, I'd like to follow
> along with the examples shown, like in:
>
>
> http://selflanguage.org/_static/tutorial/Tutorial/Language/ObjectsAndSlots/ExamplesOfSlots.html
> [2]
>
> Take the first image on that page - how do I get _that_ to happen.
> Is
> there a page that documents- step-by-step - how this bank account
> example is put together? Otherwise, I bring up the Self VM, and now
> I
> have no clue what to do next.
> --
> Duke
>
>
>
> Links:
> ------
> [1] mailto:dukeofperl%40ml1.net
> [2]
> http://selflanguage.org/_static/tutorial/Tutorial/Language/ObjectsAndSlots/ExamplesOfSlots.html
> [3]
> mailto:dukeofperl@ml1.net?subject=Re%3A%20%5Bself-interest%5D%20Self%20%28and%20OOP%29%20noob%20says%20Hi%21
> [4]
> mailto:self-interest@yahoogroups.com?subject=Re%3A%20%5Bself-interest%5D%20Self%20%28and%20OOP%29%20noob%20says%20Hi%21
> [5]
> http://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJwYjYxNmYzBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzI0ODQEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjk2NjIzNzA2?act=reply&messageNum=2484
> [6]
> http://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJlczRqOWgxBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTI5NjYyMzcwNg--
> [7]
> http://groups.yahoo.com/group/self-interest/message/2481;_ylc=X3oDMTM0OGJkaTlsBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzI0ODQEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjk2NjIzNzA2BHRwY0lkAzI0ODE-
> [8]
> http://groups.yahoo.com/group/self-interest/members;_ylc=X3oDMTJmZXFqZmo2BF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEyOTY2MjM3MDY-?o=6
> [9]
> http://groups.yahoo.com/group/self-interest;_ylc=X3oDMTJlNTRtcmRhBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTI5NjYyMzcwNg--
> [10]
> http://groups.yahoo.com/;_ylc=X3oDMTJkcXYya2I4BF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMjk2NjIzNzA2
> [11] mailto:self-interest-traditional@yahoogroups.com?subject=Change
> Delivery Format: Traditional
> [12] mailto:self-interest-digest@yahoogroups.com?subject=Email
> Delivery: Digest
> [13]
> mailto:self-interest-unsubscribe@yahoogroups.com?subject=Unsubscribe
> [14] http://docs.yahoo.com/info/terms/
</pre>