[etoys-dev] Book Sprint Questions: Part 2

Steve Thomas sthomas1 at gosargon.com
Tue Feb 9 01:10:55 EST 2010


Thanks, Korakurider, Karl and Yoshiki for the answers to my previous
questions. Here is the next set:


   1. What is the purpose of the variable Type: ButtonPhase (ie: how and
   where can I use it)?
   A Type with the following possible values: button down, while pressed,
   button up
   2. In the documentation I wrote: " In Etoys the terms Player and Object
   basically mean the same thing."  Is this accurate or does Player have a
   special meaning?
   3. For Type "Point" you can enter a single number (ex: 100) which if you
   try and use it to set an object's location will throw an exception:

>    An error has occurred in

   script5 of Rectangle.

   Fix your script(s), hit 'Abandon' and try again.

   If you enter an "incomplete point" ex: @100 or 100@ you get a "Syntax
   Error" "Nothing more expected ->@00"



   Thanks, Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100209/40d6de2b/attachment.html


More information about the etoys-dev mailing list