猫了个咪啊 if 错误条件 then goto leave end print("正常流程") ::leave:: print("资源释放") for i = 1, 10 do if i % 2 == 0 then goto continue end print(i) ::continue:: end