Difference between revisions of "Array.cell()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
 
Line 6: Line 6:
 
==Array.cell(row,column,width,height) ==
 
==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.
+
Get the cells at row and column, and get the area described by width and height. Note row and column are zero indexed. Same as Array.cells(row,column,width,height).
 
 
  
 
MAGICSQUARE(6)
 
MAGICSQUARE(6)

Latest revision as of 16:42, 4 March 2017


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. Same as Array.cells(row,column,width,height).

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