lua-users home
lua-l archive
Re: How to return a table from a function
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: How to return a table from a function
From
: Walter Cruz <walter.php@
...
>
Date
: Mon, 7 Nov 2005 13:46:44 -0300
Well, is that ?
function foo()
local t = {k='bar'}
return t
end
x = foo()
print(type(x))
table.foreach(x,print)
[]'s
- Walter
References
:
How to return a table from a function
,
Mike Vidal
Prev by Date:
How to return a table from a function
Next by Date:
Missing function in lua API: move an element on the top of the stack ?
Previous by thread:
How to return a table from a function
Next by thread:
Re: How to return a table from a function
Index(es):
Date
Thread
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル