Conditions之判斷-eM-Plant 学习资料

时间:2024-05-13 02:16:52
【文件属性】:

文件名称:Conditions之判斷-eM-Plant 学习资料

文件大小:19.13MB

文件格式:PPT

更新时间:2024-05-13 02:16:52

eM-Plant

Conditions之判斷 Conditions are expressions that return a boolean value. They are, for example, used in conditional branching: If condition, then ..... else ..... end; Example: if @.get name = "box" then @.move(SP1); condition Boolean values are returned as results for comparisons. • boolean relop boolean; relop: =, /= • integer relop integer; relop: =, /=,<, >, >=, <= • real relop real; relop: =, /=,<, >, >=, <= • string relop string: relop: =, /= • object relop object: relop: =, /= Boolean values are returned as results when linking conditions with the operators AND, OR, NOT. relop: relational operator


网友评论