How can i jump into a switch?

 

I have many switch case statement

 switch(int(lparam)) {
case 80:
//do this
break;

case 81:
//do that 
break;

case 82:
//do something else
break;


}

Now in the above code if case 81 is true, then i want it to jump to case 82

How can i do that?

 

Place the cursor on switch, press F1 and read ..:

the program will further execute the operators of all subsequent variants until the break operator occurs.

so delete the break in case 81:.

Reading helps against loosing time and headache.
Documentation on MQL5: Language Basics / Operators / Break Operator
Documentation on MQL5: Language Basics / Operators / Break Operator
  • www.mql5.com
Break Operator - Operators - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Carl Schreiber #:

Place the cursor on switch, press F1 and read ..:

so delete the break.

Thanks so much. Worked.