Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked

Switch / Case Statement

I am neck deep  in programming my "Simone" robot. I know that I can use multiple or nested if/elseif/then statements, but what would really make my life easier would be a "switch / case statement."

Code:

switch(expression) {

case constant-expression :
statement(s);
break; 

case constant-expression :
statement(s);
break; 

default :

By the way, what programming language was EZ Script based on?

AI Support Bot
Related Content
Synthiam
#2  
Just a little additional info, EZ Script is essentially based on VB Script, but as DJ pointed out, ARC also supports more advanced languages like Javascript and Python as well as Blocky, which is a drag and drop based on another language whose name currently escapes me. 

Alan