|
On Feb 23, 2006, at 20:12, David Given wrote:
On Thursday 23 February 2006 18:54, PA wrote: [...]return 1, nil, 2, nil, 3[...]local someResults = { test() } print( unpack( someResults, 1, table.maxn( someResults ) ) )Yes, but it'll lose any trailing nils...
Yes.. but in practice... how could you tell the difference between a trailing nil and a nonexistent nil?
Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/