Array.cell()

Revision as of 16:40, 4 March 2017 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Array.cell(row,column,width,height)

Get the cells at row and column, and get the area described by width and height. Note row and column are zero indexed.


MAGICSQUARE(6)

29 7 6 20 25 24
9 32 1 27 23 19
31 3 8 22 21 26
2 34 33 11 16 15
36 5 28 18 14 10
4 30 35 13 12 17

MAGICSQUARE(6).cell(3,3,2,2)

11 16
18 14