switch/case/endsw now works! The only downside is that it has no access to variables. I'm trying to fix this issue.