[Squeakland] saving projects (OLPC)

Scott Wallace scott.wallace at squeakland.org
Thu Aug 30 14:16:30 PDT 2007


Hi, Randy,

The reason you're not allowed to create a variable named "x" is  
because all players already automatically have a system-defined  
variable named x -- the horizontal cartesian coordinate.  So "Car's  
x" would become ambiguous if Car, in addition to having its built-in,  
system-defined variable named "x", could also define its own "x"  
variable.

Cheers,

   -- Scott


On Aug 30, 2007, at 5:56 AM, Randy Heiland wrote:

> nitpick:  it would be nice to really be able to create a variable  
> named 'x' (as opposed to having it renamed to 'x1')







More information about the Squeakland mailing list