Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationrun_command

run_command (string command) ⇒ 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").

First available: Version 1.3.5.62

Notes

Be careful with the run_command function!

This function has direct access to any other command within ZPE and whilst it does run within it's own ZPE instance within the same permission level as the parent process, it should be used with caution.

This function cannot access variables defined within any program other than within it's own runtime.

The run_command function always wraps any code in a return.

Comments
Feedback 👍
Comments are sent via email to me.