Menu

#2 If statement == equals statement not supported

1.0
open
nobody
None
2018-11-16
2018-11-16
indiam
No

Testing on Windows 10 before trying on LInux
It failed a very simple if statement.

DOS9 C:\programs\xrunner>xrun.cmd
Error : "==" was unexpected.

This may be caused by the second of the following lines of code:

set echoatstart=%~3
if "%echoatstart%" == "5" echo on

An if statement with == in it is very common.

Discussion


Log in to post a comment.

Auth0 Logo