indexing of new created tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: indexing of new created tables
- From: <temp212@...>
- Date: 2017年7月23日 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.