Difference between revisions of "Array.print()"

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 41: Line 41:
 
]
 
]
  
 +
On screen, this would be tabbed appropriately.
  
 
MAGICSQUARE(3).print(true,true)
 
MAGICSQUARE(3).print(true,true)

Latest revision as of 16:13, 4 March 2017


Array.print(Trimmed, TabLevel)

Print the array. Trimmed trims the printing, and tablevel indents the tabs for each element.

MAGICSQUARE(3).print()

[

[2,7,6 ],


[9,5,1 ],


[4,3,8 ]

]


MAGICSQUARE(3).print(true)

[

[2,7,6 ],


[9,5,1 ],


[4,3,8 ]

]

On screen, this would be tabbed appropriately.

MAGICSQUARE(3).print(true,true)

[

[2,7,6 ],


[9,5,1 ],


[4,3,8 ]

]