Script Function Reference

Function Reference >Script Function Reference >Function Manipulation>createInterval

createInterval

createInterval generates an interval table.

createInterval(min, max, res)

Parameters

min is a string value representing the minimum interval
max is a string value representing the maxiumum interval
res is a string value representing the resolution for the interval

Return Value

createInterval returns an interval table.

Example

function example()
	setInterval("f", createInterval("-10", "10", "100"))
end