if-then

名词 n.

英文释义

名词 n.
  1. A proposition or statement about what should or does occur when a certain condition is met.
    — Disposition statements are always tantamount to conditional if-thens. (“Glass is fragile” amounts to “If glass is subjected to a shock, it will break”; “Wood is combustible” comes to “If wood is exposed to fire, it will burn”; and so on.)
  2. A conditional statement; a line of code that specifies a Boolean condition to check and a statement to execute when that Boolean evaluates to true.
    — List Formatter makes properly-spaced & indented listings with page breaks; each statement on new line, if-thens and loops called out; a great de-bugger!

词形变化

if-thens plural if/then alternative if–then alternative
0 次浏览 数据来源: Wiktionary