for01.cmp

来自「开放源码的编译器open watcom 1.6.0版的源代码」· CMP 代码 · 共 50 行

CMP
50
字号
for %%i in (a b c) do echo %%i
echo a
a
echo b
b
echo c
c
for %i in (a b c) do echo %i
echo a
a
echo b
b
echo c
c
for %dowah in (a b c) do echo %%dowah %%i
echo %a %%i
%a %%i
echo %b %%i
%b %%i
echo %c %%i
%c %%i
for %abc in () do echo %abc wow!
for %abc in (this is a test) do echo %abc and again, %abc
echo this and again, this
this and again, this
echo is and again, is
is and again, is
echo a and again, a
a and again, a
echo test and again, test
test and again, test
for %i in (echo rem) do %i does it work?
echo does it work?
does it work?
rem does it work?
echo a
a
echo b
b
echo c
c
a
b
c
for %i in (1 2 3 4) do @echo no replacement text!
no replacement text!
no replacement text!
no replacement text!
no replacement text!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?