Difference between revisions of "ZCubes/Arrays in ZCubes"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "==Arrays in ZCubes== <br/> Arrays are a fundamental data structure in ZCubes. This video demonstrates how to create an array using the ‘..’ operator. You can create multi-...")
 
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
 
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
  
 +
==Code==
 +
1..10
 +
1..10..2
 +
1..100..2
  
 +
|4|
 +
|6|
 +
|6,2|
 +
|6,2,3,4|
 +
|6,2,3,4,1..100|
 +
|6,2,3,4,1..10..2|
  
<<[[Learn_ZCubes | Learn ZCubes ]]
+
1..10@SIN
 +
1..10@[SIN,COS]
 +
a=1..10@SIN
 +
a.input
 +
a.header
 +
a.size()
 +
[1..5,3..5]@CHIDIST
 +
 
 +
 
 +
<br/>
 +
*[[Z3 | Z3 home]]
 +
*[[Z^3 Language Documentation]]
 +
*[[ZCubes_Videos | ZCubes Videos and Tutorials]]
 +
*[[Main_Page | About ZCubes ]]
 +
<br/>
 
<br/>
 
<br/>
&copy; Copyright 1996-2020, ZCubes, Inc.
+
&copy; Copyright 1996-2021, ZCubes, Inc.

Latest revision as of 00:28, 11 March 2021

Arrays in ZCubes


Arrays are a fundamental data structure in ZCubes. This video demonstrates how to create an array using the ‘..’ operator. You can create multi-dimensional arrays in ZCubes. The video demonstrates how to execute functions on arrays of values easily.

Video


Arrays in ZCubes














Code

1..10
1..10..2
1..100..2
|4|
|6|
|6,2|
|6,2,3,4|
|6,2,3,4,1..100|
|6,2,3,4,1..10..2|
1..10@SIN
1..10@[SIN,COS]
a=1..10@SIN
a.input
a.header
a.size()
[1..5,3..5]@CHIDIST





© Copyright 1996-2021, ZCubes, Inc.