作业帮 > 综合 > 作业

vb的do while中还有个do while,内层的do while内有个if,怎么从then后跳出外层的do?

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/18 05:46:48
vb的do while中还有个do while,内层的do while内有个if,怎么从then后跳出外层的do?
'常见的
ext=0
do
do
do
if a=1 then ext=1:exit do
loop
if ext=1 then exit do
loop
if ext=1 then exit do
loop
'不怕堆栈堆死的
do
do
do
if a=1 then goto ext
loop
loop
loop
ext:
'.