Skip to content · ⁨コンテンツへスキップ⁩

Iteration: WHILE and REPEAT

English

WHILE tests before each pass

  • A WHILE loop checks its test before each pass.
  • If the test is false at the start, the body runs zero times.
  • The block ends at ENDWHILE.
日本語

WHILE は各反復前にテストする

  • WHILE ループは各反復の 前に テストを確認します。
  • 最初からテストが偽であれば、本体は 0回 実行されません。
  • ブロックはENDWHILE で終了します。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP