|
|
Script Function ReferenceFunction Reference >Script Function Reference >Function Manipulation>setIntervalsetIntervalsetInterval sets a parameter interval for function.
setInterval(fn, parameter, inteval)
Parametersfn can either be a string with name of a function or a function table generated with getFunction or createFunction.parameter is a string with the name of the paramater for which the interval is being set. inteval is an interval table. Return ValuesetInterval doesn't return anythingExample
function example()
setInterval("f", createInterval("-10", "10", "100"))
end
|