[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Why coroutine can't be indexed?
- From: HyperHacker <hyperhacker@...>
- Date: Fri, 8 Jul 2011 20:13:06 -0600
Just curious why, at least in Lua 5.1, one has to write:
coroutine.status(co)
instead of:
co.status
and similar? The latter seems a lot more Lua-like.
--
Sent from my toaster.