Post Reply 
Multi-Dimensional Matrices
04-12-2017, 05:48 PM
Post: #1
Multi-Dimensional Matrices
The code below checks OK but doesn't run. Is it possible to have n-dimensional tables? If so, how do you access them?

Tom L

PHP Code:
EXPORT mattest()
BEGIN
local a
:=[[[1,2,3],[2,3,4],[19,20,21]],[[4,5,6],[7,8,9],[-1,-2,-3]],[[10,11,12],[13,14,15],[-5,-6,-7]]];
print(
a(2,1,1));
END

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Multi-Dimensional Matrices - toml_12953 - 04-12-2017 05:48 PM
RE: Multi-Dimensional Matrices - Han - 04-12-2017, 06:45 PM
RE: Multi-Dimensional Matrices - Han - 04-12-2017, 06:42 PM



User(s) browsing this thread: 1 Guest(s)