Changes

Jump to navigation Jump to search

on.timer

8 bytes removed, 21:18, 26 October 2011
no edit summary
Line 1: Line 1: −
   
The event '''on.timer''' is fired when a [[:Category:timer|timer]] is run.
 
The event '''on.timer''' is fired when a [[:Category:timer|timer]] is run.
   Line 6: Line 5:  
== Example ==
 
== Example ==
   −
Below is an example of a program that draws a line on the screen when the user resizes the window :
+
Below is an example of a program that displays a message for 1 second when a key is pressed.
 
<source lang="lua">
 
<source lang="lua">
  

Navigation menu