Speech Script icon Speech Script Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
Asked — Edited

Variables; Local Or Global In Scripts?

If I want to set a variable based on a result in one script, can I pass that variable to another script?

Man, this programming thing is getting complicated:D


ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

All variables are global. Use the Variable Watcher control to view the variables and their values.