Denso BHT-200QW Spécifications Page 291

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 587
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.)
Vue de la page 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 586 587

Commentaires sur ces manuels

Pas de commentaire