lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jul 29, 2022 at 5:10 AM Sean Conner wrote:
> if some_condition then break 3 end

  And later, that code is embeded one layer deeper, and now your "break 3"
is causing some issues because it may not be going where you think it's
going.


Is there any difference between "break" and "break 3" here?
Both of them have to be modified when embedding a code one layer deeper.