點擊圖片可看到更多訊息
開始使用於
- 遊戲:
- 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.