- Sep
- 134
- 1
Until Version 16 this decsision was a correct term:
SETLOCAL
Echo Status:%status%:
Set Status=Great
Echo :::::::::::::::::::::::::::::::::::::::::::::
Echo Status:%Status%:
:
IFF %Status%==great THEN
Echo JPSoft is good :-)
ELSE
Echo JPSoft is :-((
ENDIFF
ENDLOCAL
SInce the "%=" was "deprecated" (I never tested Version 17), it seems, that I must rewrite all my scripts, which has this form of decision. I have use this form, because it was for clear and "undoubted" for me.
PS: Ok,ok,ok ---- there is no big deal to edit these 7 texts, but it took a long time until I discovered this erroneous decision.
SETLOCAL
Echo Status:%status%:
Set Status=Great
Echo :::::::::::::::::::::::::::::::::::::::::::::
Echo Status:%Status%:
:
IFF %Status%==great THEN
Echo JPSoft is good :-)
ELSE
Echo JPSoft is :-((
ENDIFF
ENDLOCAL
SInce the "%=" was "deprecated" (I never tested Version 17), it seems, that I must rewrite all my scripts, which has this form of decision. I have use this form, because it was for clear and "undoubted" for me.
PS: Ok,ok,ok ---- there is no big deal to edit these 7 texts, but it took a long time until I discovered this erroneous decision.