The activity is in the sectionBasic. Unexecuted activity. You can put other script steps in the container. It is used to make the code more convenient and structured.
Important!If a variable is created inside a container, we cannot access it outside the container.
Example Let's write a program that solves a quadratic equation of the form:
Set parameters a=1, b=4 и c=3.
We put activities in the container to search for the roots of the quadratic equation (x1, x2).
Output in message box roots of the equation separated by commas.
An error will occur when running this script, because the variables x1 and x2 since they only exist inside the container. How to fix this error? Previously(before the container) declare these variables.
The script is available for download from the link: