setInterval
(since 1.0)
Calls a function repeatedly
Description
integer
setInterval
(
function fn, integer delay, [string param1, param2, ...] )
Calls a function repeatedly, with a fixed time delay between each call to that function.
Parameters
fn
The function that will be called repeatedly
delay
The delay between each call (in milliseconds)
param1, param2, ...
Arguments that will be passed to the function
Examples
var timeoutID = Ape.setInterval(function(a, b) {
Ape.log("Foo : " + a + " Bar : " + b);
}, 3000, "foo", "bar");
Ape.clearInterval(timeoutID);
User notes
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...

People said you have to go to the git...