跳到主要内容

Hunt 2: Blocks

English

Every block has an end

  • IF needs ENDIF. FOR needs NEXT. WHILE needs ENDWHILE.
  • Some bugs give no error: the program runs, but does the wrong thing. Run it and compare.
Word Meaning
block the lines between a start word and its end word
indent spaces that show which lines are inside a block

登录或创建账户

IGCSE, A-Level & AP