[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Finding the version
- From: Reuben Thomas <rrt@...>
- Date: Mon, 13 Aug 2001 17:39:19 +0100 (BST)
> Be careful: to correctly implement tinsert in Lua using the C tinsert you must pass the correct number of parameters to the C
> function, like in
>
> function tinsert(t, n, v)
> if (v) then
> %tinsert(t, n, v)
> else
> %tinsert(t, n)
> end
> end
Sorry, I meant that. The version I posted was an incorrect "optimisation"!
--
http://sc3d.org/rrt/ | perfect, a. unsatirizable