Looking for info, have not been able to locate any reference in the VCS API, if VCS supports a C++ “Switch Statement”?
I don’t see why it wouldn’t, since VEX C++ is based on standard C++.
Why don’t you just try it and see if it compiles?
Also,
switch
doesn’t belong in the API docs, just like
if
,
while
, and
for
. The API docs are for learning the VEX library that exists on top of C++, not C++ itself.