foxidrive wrote:Nice work ShadowThief.
I would rephrase this passage though, as it seems a little odd and inaccurate.Code: Select all
:: Ordinarily, variables get replaced with their value before the batch script is run.
In case I wasn't clear - it's describing that all variables are fixed and immutable when a batch file is run.
If that were the case then this would not work:
It seems to me like it would confuse the beginners.
Code: Select all
set num=10
set /a num+=1
echo %num%