开发者

The term for a variable in a conditional

In the following statemen开发者_JAVA技巧t what is the term to refer to the $country operand? Could it be the evaluated variable?

if($country == "Bulgaria"){}


I don't think there's a language-agnostic term for it.

It could be an expression, an operand, a variable ...


There's no special name for any of the operands, they are completely equal from the language standpoint. You just compare something to something, each "something" can be a variable or not.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜