lua-users home
lua-l archive

Re: What wrong in this code?

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


2017年05月15日 10:20 GMT+02:00 Dirk Laurie <dirk.laurie@gmail.com>:
> function linearSearch(table,element)
> for k,v in pairs(table) do
> if v==element then return k
> end
> end
Oops, needs another 'end'

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