China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 23:13
Original Poster Posted 2003-09-26 00:00 ·  中国 湖南 长沙 电信
初级用户
Credits 109
Posts 2
Joined 2003-09-26 00:00
22-year member
UID 10381
Gender Male
Status Offline
Can you break out of a for loop in a bat file??
That is, when a certain condition is met, can it stop looping any further???
Like break.
Floor 2 Posted 2003-09-26 00:00 ·  中国 湖南 长沙 电信
初级用户
Credits 109
Posts 2
Joined 2003-09-26 00:00
22-year member
UID 10381
Gender Male
Status Offline
Nobody's paying attention to me... sigh~~~~~~~~~~
Floor 3 Posted 2003-09-27 00:00 ·  中国 辽宁 沈阳 联通
初级用户
★★
Credits 672
Posts 216
Joined 2003-06-12 00:00
23-year member
UID 4976
Gender Female
Status Offline
I don't know what your for loop condition is,
but I think if you want to implement loop nesting for programming functions, it's still better to use goto
我是女孩,我怕谁?
Forum Jump: