#Cant fix it by myself
6 messages · Page 1 of 1 (latest)
how does the code you sent relates to the error?
You forgot to add break in your switch statement cases
yeah but, the line numbers don't seem to match up at all with the error
unless i'm missing something
Documentation suggestion for @kindred roost:
switch
The switch statement evaluates an expression, matching the expression's value against a series of case clauses, and executes statements after the first case clause with a matching value, until a break statement is encountered. The default clause of a switch statement will be jumped to if no case matches the expression's value.