How does one work with local variables in an internal python/js script.
In my own tests it leads to a syntax error.
One workaround was passing them as a prefix e.g.
rt.start_task("PREFIXVAR", "PREFIX="+str(row))
How would you do it?
Import local variables into python / JS
Re: Import local variables into python / JS
start_task(ext_name, params = '')
Method.
Start task by number or External Name.
Parameters
Read more here about RoboTask object for python
Method.
Start task by number or External Name.
Parameters
- ext_name - task number or external name
- params - parameters of the task to be launched. Empty string by default. Parameters can be set as text, one parameter per line :
parameter_name=parameter_value
Read more here about RoboTask object for python
Oleg Yershov