- 注册时间
- 2007-7-6
- 最后登录
- 1970-1-1
|
发表于 2007-9-15 00:18:59
|
显示全部楼层
No, logically it is wrong. the If statement is not a loop. It cannot be broken.
Break in a if statement is used for breaking the outer loop, not to break the if statememnt. That's why if we used break, it will get out form the big for-loop. Because the if is inside the for loop so the next command will not run. |
|