Switch statement from C

I would like to use the switch-case statement in a FreeFEM code. As it is based on C I supose that I should be able to use it, but the compiler does not recognize the sintax. ¿Is this sintax not suported by FreeFEM? ¿Is there any function implemented in FreeFEM to do a similiar job?

Thank you in advance.

It’s not possible, you have to use if () { } else if () { } else { } instead, with as many else if as you’d like.