Skip to the content
Documentation

This is not a switch

No ratings yet

A switch is not only a serie of if. There is fallbacks. With this syntaxe, how do we not write 'break;' to make the action continue through other case blocks?

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: This is not a switch

    Brandon ·

    I think the template language is too primitive at this point to able to support that.. Not that I've looked through ez's parsing system but if you look through it and can understand syntax parsing in general you'll be able to find a hack yourself (if possible without warnings or errors) or maybe even the way to do what you want without much hacking.