The VEX Visual Studio Code Extension has replaced VEXcode Pro V5, which is now end-of-life.
VEXcode Blocks and VEXcode Text remain actively developed and supported for all VEX platforms.
場合 の部分を書きます
if と入力し、プログラムがチェックする条件を括弧 ( )内に追加します。
注: この例では、バンパースイッチが押されている状態が条件となります。
if ステートメントの中括弧 { }の中に、条件が満たされた場合 if を実行するロボットのコマンドを追加します。
注: この例では、コマンドは両方のモーターを前方に回転させます。
For more information, help, and tips, check out the many resources at VEX Professional Development Plus