The if clause determines whether the value of the ResponseRequested sub-element for a given comment is equal to Yes.
if 子句判断一条给定评论的 ResponseRequested 子元素的值是否等于 “Yes”。
When the if clause has more than one condition, you can choose to have it evaluate to true when any of the conditions are true or when all of the conditions are true.
当 if 子句有多个条件时,您可以选择让它在任何条件为 true 时求值为 true,或者在所有条件都为 true 时才求值为 true。
这样就完成了“if”子句。
All right, if this is purely a test of, if this is true do this otherwise I don't care, I don't need the ELSE clause in there to identify it. All right?
好,如果这真是一个测验,用来测试如果是真的那么进行一些操作,否则的话我不在乎,那么我不需要ELSE语句,来进行声明了对不对?
应用推荐