[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: indexing of new created tables
- From: <temp212@...>
- Date: Sun, 23 Jul 2017 19:07:40 +0700
Why a new table needs to be put in parentheses to index it?
a = {4, 3, 2, 1} [2] --error
a = ({4, 3, 2, 1})[2] --ok
at the same time length operator # works either way.