点击图片可看到更多讯息
开始使用于
- 游戏:
- Operation Flashpoint: Resistance
- 版本:
- 1.85
描述
- 描述:
- First or second element of array is executed depending on result of if condition. Result of the expression executed is returned as a result (result may be Nothing).
基本句法
范例
额外资讯
- 多人游戏:
- -
- 也可以看看:
- Control Structuresifelse
注意事项
Notes
- Ceeeb
- Any variables you declare within the body of an if/then statement (ie between the curly braces) are local to that 'if' statement, and are destroyed at the end of the statement. If you know you want to use the variable outside the 'if' statement, make sure your declare it before the 'if' statement.