To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

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.

The run_command function always wraps any code in a return.

Comments

There are no comments on this page.

New comment
Reply
Provide feedback on this page
Comments are sent via email to me.