[Newbies] What's the relationship between scripts and methods?
Bert Freudenberg
bert at freudenbergs.de
Wed Apr 8 20:26:06 UTC 2009
On 08.04.2009, at 22:10, Mike Stramba wrote:
> 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.
The debug halo handle is not shown in etoyFriendly mode, which is
default in the Etoys image.
- Bert -
> Repeatedly MMB on the 'clock' icon on the ScriptEditorMorph, till it
> says ScriptStatusControl on the bottom, then browse that morph class.
>
> Mike
>
> 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
>> way?
>>
>>
>> - Steinar
>>
>> _______________________________________________
>> 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
More information about the Beginners
mailing list