Re: What wrong in this code?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: What wrong in this code?
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2017年5月15日 10:21:18 +0200
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'