Go Down

Topic: well I have amassed enough cool stuff...lets build something! Code help please. (Read 1 time) previous topic - next topic

Nick Gammon

Wasn't that obvious? It needs to make toast.  8)

Are you insane? You need it to (1) deliver a cold beer to your hands, without your having to move from your chair. And then 15 minutes later: goto 1. (oops, used goto).

Rewording without using goto:

Code: [Select]
while (owner_is_sober)
  deliver_beer ();
Please post technical questions on the forum, not by personal message. Thanks!

More info:


I hope that deliver_beer() has some affect on owner_is_sober. Otherwise, that's an infinite loop. Not that that's all bad...  8)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131