|
|
Visit the
Groups blog for the latest Yahoo! Groups information
Description
Discussion of Io, a small prototype-based scripting language
To suscribe, you can just email: iolanguage-subscribe@yahoogroups.com
|
Re: self == Lobby in activate()?
... Thanks Steve, it's working. I'm playing around with state driven code, and it seems like it can be done: Buffer := Object clone do( full := clone init :=
Posted - Sun Nov 15, 2009 8:41 am
|
Mike Austin
mike_ekim
Offline Send Email
|
Re: self == Lobby in activate()?
... A block has to be called with the "call" method. I think what you want is: Test := Object clone do( init := method( self setIsActivatable(true) ) activate
Posted - Sat Nov 14, 2009 10:23 pm
|
Steve Dekorte
stevedekorte
Offline Send Email
|
Re: self == Lobby in activate()?
... I changed it to use block() and I do see different behavior - nothing happens at all now :) Test := Object clone do( init := method( self
Posted - Sat Nov 14, 2009 6:36 pm
|
Mike Austin
mike_ekim
Offline Send Email
|
Re: self == Lobby in activate()?
This is the way method dispatch works. your test message is found in the Lobby, and since the Lobby can get to Object's definition of isActivatable and Lobby
Posted - Sat Nov 14, 2009 8:06 am
|
Jeremy Tregunna
jeremy.tregunna@...
Send Email
|
self == Lobby in activate()?
I'm a little confused as to why self == Lobby in a new object's activate() slot: Test := Object clone do( init := method( self setIsActivatable(true) )
Posted - Sat Nov 14, 2009 8:00 am
|
Mike Austin
mike_ekim
Offline Send Email
|
Add iolanguage to your personalized My Yahoo! page What's This?
|
Message History
Group Email Addresses
| Related Link: |
http://www.iolanguage.com/ |
| Post message: |
iolanguage@yahoogroups.com |
| Subscribe: |
iolanguage-subscribe@yahoogroups.com |
| Unsubscribe: |
iolanguage-unsubscribe@yahoogroups.com |
| List owner: |
iolanguage-owner@yahoogroups.com |
|