lua-users home
lua-l archive

label syntax (Re: [ANN] Lua 5.2.0 (beta-rc1) now available)

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


Another suggestion for the label syntax could be "name->", the label name followed by an arrow. That would be similiar to labels in other languages ("name:") and the arrow would indicate that the name points to something.
Example:
 if some_condition then
 goto label1
 end
 some_code (blub)
 label1->
 return

AltStyle によって変換されたページ (->オリジナル) /