I'm currently trying to figure out if LOLCODE is adaptable to an event driven model. I think we could throw a CATURDAY event with the code, IZ CATURDAY!
ON CATURDAY IM IN YR BED I IZ SLEEPIN!!10 VISIBLE "Z!" KTHX KTHXBYE
So with this code fragment, we have an event block introduced with ON eventName, and terminated with the usual KTHXBYE. We have an effectively infinite loop, labelled “BED”. The only output is an occasional “Z!”.
This is not (yet) a canonical example, but a suggestion. — Adam, 2007/05/31 11:07