Denso BHT-200QW Especificações Página 291

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 290
Chapter 14. Statement Reference
283
You can nest the SELECT…CASE…END SELECT statements to a maximum of 10 levels.
SELECT a
CASE 1
SELECT b
CASE 3
PRINT "a=1,b=3"
END SELECT
CASE 2
PRINT "a=2"
END SELECT
When using the SELECT statement block together with block-structured statements
(DEF FN ..END DEF, FOR ..NEXT, FUNCTION ..END
FUNCTION,IF ..THEN ..ELSE ..END IF, SELECT ..CASE ..END SELECT,
SUB ..END SUB and WHILE ..WEND), you can nest them to a maximum of 30 levels.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 26 :
Too deep nesting.
error 55: Incorrect use of
SELECT... CASE...END
SELECT
CASE, CASE ELSE, or END SELECT statement
appears outside of the SELECT statement
block.
error 56: Incomplete control
structure
No END SELECT corresponds to SELECT.
error 71: Syntax error
conditionalexpression and tests do not
agree in type.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
0Ch
CASE and END SELECT without SELECT
10h
Expression too long or complex
(The program nesting by SELECT statement block is too deep.)
Vista de página 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 586 587

Comentários a estes Manuais

Sem comentários