alice-teacher Scope of world booleans

bedeus bedeus at comcast.net
Tue Nov 8 21:57:45 EST 2011


I just want to say how exciting it has been to teach all varying student
abilities in middle school programming concepts through Alice. Just sending
a big thank you for this incredible program.

Cheers,

Deb Harding

-----Original Message-----
From: alice-teachers-bounces+bedeus=comcast.net at lists.andrew.cmu.edu
[mailto:alice-teachers-bounces+bedeus=comcast.net at lists.andrew.cmu.edu] On
Behalf Of Don Slater
Sent: Tuesday, November 08, 2011 7:28 PM
To: Alice educators
Subject: Re: alice-teacher Scope of world booleans

Thank you for this report. We will look into it.

All the best,
Don Slater

On Nov 8, 2011, at 3:24 PM, Tony Bowes wrote:

> Hi there.
> 
> From the documentation I'm lead to believe that world variables have scope
over all objects brought into the world.  I'm having problems getting world
boolean variables to retain their scope and be useful in IF structures on
dependent objects. I can drag local boolean variables directly into the IF
condition, but can't drag world booleans into there. This makes setting up
game state variables more tricky than expected. Note that setting world
functions that simply return the variable state work as expected, but I'd
rather leave encapsulation until much later. 
> 
> Is there a simple way of tracking and checking game states?
> 
> -- 
> Tony Bowes
> ICT / IPT / Maths Teacher
> St Luke's Anglican School
> 4 Mezger St Bundaberg  Qld  4670
> 
> p: (07) 4132 7500
> f:  (07) 4132 7556
> tony-bowes at slasmail.com
> http://www.stlukes.qld.edu.au
> 
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

_______________________________________________
alice-teachers mailing list
alice-teachers at lists.andrew.cmu.edu
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers




More information about the alice-teachers mailing list