BeeSchema icon indicating copy to clipboard operation
BeeSchema copied to clipboard

Switch-case

Open Michael-K-GH opened this issue 9 years ago • 0 comments
trafficstars

Implement the switch and case keywords. Possibly allow comparisons inside case condition. Proposed syntax is similar to C:

switch (some_value) {
    case (1) { ... }
    case (>= 2 && <= 5) { ... }
    default { ... }
}

Michael-K-GH avatar Jun 22 '16 17:06 Michael-K-GH