qb45qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SELECT Statement QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
SELECT CASE - a control flow statement that executes one of several
              statement blocks depending on the value of an expression
Syntax
  SELECT CASE testexpression
  [CASE expressionlist1]
    [statementblock-1]
  [CASE expressionlist2
    [statementblock-2]] ...
 
  [CASE ELSE
    [statementblock-n]]
  END SELECT
 
    ■ testexpression is any numeric or string expression.
    ■ expressionlist contains one or more expressions of the same type as
      testexpression. The IS keyword must precede any relational operators
      in an expression.
    ■ statementblock consists of any number of statements on one or more
      lines.