这样的结构很常用

for i in 1 to 10 do
(
for a in 1 to 30 do
(
if a == 10 do exit
print a
)
print i
)

原文地址:https://www.cnblogs.com/gaitian00/p/2228635.html