Open main menu
Home
Random
Log in
Settings
About ZCubes Wiki
Disclaimers
ZCubes Wiki
Search
Changes
← Older edit
Array.atindex()
(view source)
Revision as of 10:57, 8 May 2020
105 bytes added
,
10:57, 8 May 2020
no edit summary
Line 4:
Line 4:
These functions operate on array locations and values to create contours and other interesting operations.
These functions operate on array locations and values to create contours and other interesting operations.
+
[[Array Indices and XY Functions]]
[[Array Indices and XY Functions]]
==Array.atindex(List of indices) ==
==Array.atindex(List of indices) ==
+
+
Returns the indices indicated by the parameters. Basically gets the rows specified by the arguments.
MAGICSQUARE(5).atindex(1,3)
MAGICSQUARE(5).atindex(1,3)
−
{| class="wikitable"|-
+
{| class="wikitable"
+
|-
| 20 || 8 || 21 || 14 || 2
| 20 || 8 || 21 || 14 || 2
|-
|-
Line 18:
Line 22:
MAGICSQUARE(5).atindex(1,3,4)
MAGICSQUARE(5).atindex(1,3,4)
−
{| class="wikitable"|-
+
{| class="wikitable"
+
|-
| 20 || 8 || 21 || 14 || 2
| 20 || 8 || 21 || 14 || 2
|-
|-
Devika
writer
6,694
edits