how to mix scripting with coding?
Volker Nitsch
nitsch-lists at netcologne.de
Thu Apr 4 11:40:36 UTC 2002
Hi Scott,
Scott Wallace <scott.wallace at squeakland.org> wrote:
> Hi, Volker,
>
> If you want the textual source you have modified and accepted in a
> Scriptor to prevail, leave that Scriptor in textual-source mode,
> don't switch it back to tiles.
>
> If you subsequently switch a Scriptor back to tiles mode, the last
> tiles code gets reinstalled and your textual changes will be lost.
>
Ok, now i use two methods, one "handmade" with code and one for scripting,
which calls the handmade (cheap to restore ;).
> Starting with update 4815, you're given a warning and a chance to
> change your mind in such a situation. Update 4815 applies equally to
> 3.3a and 3.2g, but perhaps has not yet been externalized to the
> public servers.
>
i'm using 3.0 because its called stable and i'm a beginner.. ;)
> If this reply is not directly addressing your concerns, please write
> again with further clarification.
hmm, i hoped there is an easy way to expose handmades to
scripting-tiles.
something like an description array for a class with the
tile-descriptions
and the substitution-code.
Starting with scripting and then learning how to make own tiles by code
is kind of a meta-toy :)
Also, have etoys inheritance? So one could split the car-control in
speed
and turning and then keep speed-script but override turn-script?
>
> Cheers,
>
> -- Scott
>
> At 4:06 PM +0100 4/3/02, Volker Nitsch wrote:
> >Hi all. Now i have this wonderfull etoy-car running,
> >and can switch to source-code, but not change there
> >(scripting-box overwrites).
> >how can i mix scripting with coding?
> >
> >Volker
More information about the Squeak-dev
mailing list
|