Missing expression in SWITCH statement

Navigation:  Messages > Macro Compiler Messages > Errors >

Missing expression in SWITCH statement

Previous pageReturn to chapter overviewNext page

This compiler error will occur if there is no expression following a switch keyword. For example:



      case 1

          // do something



In the above example, the compiler expects to see a boolean expression following (and on the same line as) the switch keyword.

Topic 109610 updated on 16-Apr-2002.
Topic URL: https://www.qppstudio.net/webhelp/index.html?missingexpressioninswitchstate.htm