samintz
Scott Mintz
- May
- 1,590
- 27
When I tested the do loop code for the posting about SHIFT, I encountered an error with the SWITCH statement.
In this simple batch script, the CASEALL is never executed. (Tcc 13.04.61)
In this simple batch script, the CASEALL is never executed. (Tcc 13.04.61)
Code:
do until %1.=.
switch %1
case A .OR. B
echo %1
caseall
shift
default
echo usage: blah blah blah...
quit
endswitch
enddo