setTimeout (function, delay)


function: The function to be called at the timeout. The function can optionally take 1 argument which is the timer ID.

delay: timeout in milliseconds.


The timer ID. This is a string.


You cannot assign new event handlers inside the timeout handler (e.g. you cannot do <#tag#>.opened=function(){/*something*/}; if <#tag#>.opened has not been assigned before.)

The changes made to external global variables inside the timeout handler will be saved and loaded the next time the App executes (e.g. when an event handler is called.)