lua-users home
lua-l archive

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


It was thus said that the Great Tom N Harris once stated:
> 
> That also looks like Ruby, but can you imagine the confusion if a 'goto' 
> wouldn't work because the block has magically been turned into a function? 
> Maybe that's what we really need, the ability to jump to labels in an outer 
> function.

  How is that any different from BASIC's "on error goto ... " statement?

  Also, you have the ability to jump to labels in an outer function, but it
involves pcall()/error() ... 

  -spc