at:byexample
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:byexample [2008/08/11 20:32] – * tvcutsem | at:byexample [2008/08/11 20:34] – * tvcutsem | ||
---|---|---|---|
Line 10: | Line 10: | ||
import / | import / | ||
- | when: lightbulb< | + | when: lightbulb< |
// code to execute when the light bulb switched on | // code to execute when the light bulb switched on | ||
// lightStatus refers to the return value of the | // lightStatus refers to the return value of the | ||
Line 100: | Line 100: | ||
def sub := when: seconds(10) elapsed: { | def sub := when: seconds(10) elapsed: { | ||
- | | + | |
} | } | ||
</ | </ |
at/byexample.txt · Last modified: 2009/10/08 14:11 by tvcutsem