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:

 

  switch

      case 1

          // do something

  endswitch

 

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: http://www.qppstudio.net/webhelp/index.html?missingexpressioninswitchstate.htm