[Newbies] What's the relationship between scripts and methods?
mikestramba at gmail.com
Wed Apr 8 20:10:54 UTC 2009
Are you familiar with the "halos" ?
If not :
Create a script, MMB for halos on the ScriptEditorMorph that has been
created, LMB on the 'debug' icon, choose browse morph class.
Repeatedly MMB on the 'clock' icon on the ScriptEditorMorph, till it
says ScriptStatusControl on the bottom, then browse that morph class.
On 4/8/09, Steinar Bang <sb at dod.no> wrote:
> The scripts, converted to code, kind of look like like methods.
> What are the relationship of scripts and methods? Are scripts instance
> level methods? I see two possible implementations for this:
> - the eToys objects could have a system dictionary of methods as an
> instance value?
> - eToys objects could be singletons of a new class created on the fly?
> Or are scripts code blocks associated with the instance in some other
> - Steinar
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners