Renesas PC7501 Instrukcja Użytkownika Strona 253

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 286
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 252
9Writing Script Files
243
9.1.4 Loop Statement(while,endw) and Break Statement
In loop statements, execution of a group of statements is repeated while the expression is true. The
following shows the format to be used.
while ( expression )
statement
endw
If the expression is t rue, the group of statements is repeated. If false, the loop is exited (and the
statement following the endw statement is executed).
You can nest while statements up to 32 levels.
Use the break statement to forcibly exit a while loop. If while statements are nested, break exits
from the inner most loop.
9.1.5 Comment statements
You can include comments in a script file. Use the following format.
;character string
Write the statement after a semicolon (;). You can include only spaces and tabs in front of the
semicolon
Lines with comment statements are ignored when the script file is executed.
Przeglądanie stron 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 285 286

Komentarze do niniejszej Instrukcji

Brak uwag