Denso Power Net Terminal BHT-103 Especificaciones Pagina 335

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 577
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 334
327
Syntax:
WHILE conditionalexpression
[statementblock]
WEND
Description:
A WHILE...WEND continues to execute statementblock as long as the con-
ditionalexpression
is true (not zero) according to the steps below.
(1) The conditionalexpression in the WHILE statement is evaluated.
(2) If the condition is false (zero), the
statementblock is bypassed and control
passes to the first statement following the WEND.
If the condition is true (not zero), the
statementblock is executed. When
WEND statement is encountered, control returns to the WHILE statement. (Go
back to step (1) to be repeated.)
The WHILE and WEND cannot be written on a same program line.
If no
WEND is written corresponding to the WHILE, a syntax error occurs.
The BHT-BASIC does not support a
DOLOOP statement block.
You can nest the WHILE...END statements to a maximum of 10 levels.
When using the
WHILE...WEND statement together with block-structured state-
ments (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.
WHILE a
WHILE b
WHILE c
.
.
.
WEND
WEND
WEND
Flow control statement
WHILE...WEND
Continues to execute a statement block as long as the conditional expression is true.
Vista de pagina 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 576 577

Comentarios a estos manuales

Sin comentarios