バッチ テキスト ベースのゲームを作成しようとしています。しかし、書き始めたばかりで、これまでに経験したことのない問題に遭遇しました。
:menu
:: the game menu - opens when the game starts
cls
echo This game is still being made -- expermintal
echo Start Screen:
echo [1] View Changes
echo [2] Start Game
echo enter your choice:
set /p startchoice =
if %startchoice%==1 goto changes
if %startchoice%==2 goto startgame
1 または 2 のいずれかを入力すると、「goto は現時点では予想外でした」というエラーが表示されます。どうすれば修正できますか?