lua-users home
lua-l archive

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


Apologies. I messed up the formatting in my example... not that it's worth two posts, mind you. :)

if v == 'value1' 
  then do_something()
elseif v == 'value2'
  then do_something_else()
  goto whatever
elseif v == 'value3
  then do_another_thing()
else
::whatever::
  do_whatever()
end