Hey there experts!
I was wondering if you can share variables between the main and subprograms such as a counter variable cause if I call the variable inside a subprogram I get the following error:
“Error in property ‘Condition’. Property ‘Counter’ in expression ‘Counter==20’ is not found.”
I could define another counter variable inside the subprogram but that would be less eficient and a bit tedious for I have various robots…
Thanks in advance.