CppBasic switch