break命令 – 结束for while或until循环

break命令用于结束for,while或until循环,可指定退出几层循环。 语法格式:break [参数]常用参数:n大于等于1的整数,用于指定退出几层循环 参考

1 2