Script Function Reference

Function Reference >Script Function Reference >Function Manipulation>evaluate

evaluate

evaluate will evaluate the string passed and return the result.

evaluate(expression)

Parameters

expression is a string to be evaluated.

Return Value

evaluate returns the value evaluated. The return type can be a number, list, or matrix table.

Example

function example()
	value = evaluate("3!+sin(x)")
	outputString("value="..value.r.."\n")
end