Skip to content

Selection: IF · ⁨选择:IF⁩

English

IF makes a decision

  • Selection chooses what to do, based on a test.
  • IF runs its THEN block only when the test is TRUE.
  • The block ends at ENDIF.
中文

IF 做一个决定

  • 选择(selection)根据一个测试来决定做什么。
  • IF 只有在测试为 TRUE 时才运行它的 THEN 代码块。
  • 代码块以 ENDIF 结束。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩