lua-users home
lua-l archive

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


On Wed, Aug 04, 2004 at 04:51:58PM +0200, Andreas Falkenhahn wrote:
> On 04.08.2004 at 14:02 David Given wrote:
> 
> >I suspect that the real answer to your question is 'You don't want to do 
> >that.' What are you trying to do?
> 
> I want to implement a function which creates a new table and initializes
> it, e.g.
> 
> newarray(test, 100)

What's wrong with 'test = newarray(100)'?

-- Jamie Webb