On 18/08/14 15:11, FlexibleLearning.com wrote:
For fun, writing a story using LiveCode syntax without a compile error...
on mouseUp
go to shop
if shop is not open then return home
get groceries, coffee and milk
go back home
put groceries into fridge
end mouseUp
How long can we make it?
Hugh Senior
FLCo
on mouseUp
go to shoppingCentre
if cheeseShop is not open
put "Hard Cheese!"
else
get cheese
put it after fld "shopping bought"
end if
if wineShop is not open
put "Drink water instead!"
else
get wine
put "," && it after fld "shopping bought"
end if
if fruitShop is not open
put "Scurvy tomorrow!"
else
get fruit
put "," && it after fld "shopping bought"
end if
if meatShop is open
put "Hey, I thought you were a vegetarian!"
end if
if fishShop is open
put "Hey, I thought you were a vegetarian!"
end if
go back home
answer "Are your feet up?" with "UP" and "NO"
if it = "NO" then
put "Put your feet up!"
else
put "Have a good rest!"
end if
end mouseUP
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode