List of Nasal extension functions: Difference between revisions

Jump to navigation Jump to search
m (lang="php" -> lang="nasal")
Line 204: Line 204:
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
# create timer with 1 second interval
# create timer with 1 second interval
var timer = maketimer(1.0, func { print('timer called'); });
var timer = maketimer(1.0, func {  
print('timer called');  
}
);
# start the timer (with 1 second inverval)
# start the timer (with 1 second inverval)
timer.start();
timer.start();

Navigation menu