Campbell CR5000 Specifikace Strana 228

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 238
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 227
Section 9. Program Control Instructions
9-22
StatementBlock The StatementBlock is the portion of the program that
should be repeated until the loop is terminated. These
instructions lie between the While and Wend statements.
Wend The Wend statement ends the While...Wend control
structure.
The Do...Loop statement provides more structure and a more
flexible way to perform looping.
While...Wend Statement Example
This example creates a While...Wend that is exited only if Reply is within a
range.
Dim Reply 'Declare variable.
While Reply < 90
Reply = Reply + 1
Wend
NOTE
Zobrazit stránku 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 237 238

Komentáře k této Příručce

Žádné komentáře