Predefined function reference

run_script

A reference entry for run_script

Predefined function · core

run_script (string file) ⇒ mixed

Runs a single command from a string such as a mathematical expression and returns the return value from it. This allows on-the-fly interpreting. It can be used to return the value of a mathematical term such as: run_command("5 + 5").