我有两个数值%Points%
, 和%PCP1%
。我希望有类似的东西:
IF (%Points% < %PCP1%) (
cls
echo Not enough money!
echo Hit enter to return home
pause
goto 2
)
ELSE (
echo Confirm Purchase? Your Points after this purchase will be (%Points% - %PCP1%)
pause
)
它不起作用。请帮忙。谢谢!