giovedì 16 aprile 2015

Gadget

Nel 2009 Livecode lanciò un simpaticissimo gadget: la tazza con il codice per il caffè. Ecco un'immagine:
Il codice è il seguente:

on WakeUp
   put "groundCoffee" into revMug
   repeat numSugar times
      add sugar to revMug
   end repeat
   if wantMilk then      
      add milk to revMug      
   end if   
end wakeUp
#enjoy

E voi che gadget fareste?

Nessun commento:

Posta un commento