Difference between revisions of "Manuals/calci/ARRAY"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''ARRAY()'''</div><br/> ==Description== *This function used to create an Array. *The parameters can be any values. *We can use the numeric value...")
 
Line 13: Line 13:
 
==Examples==
 
==Examples==
 
#ARRAY([[1,2,3],[4,5,6],[7,8,9]])
 
#ARRAY([[1,2,3],[4,5,6],[7,8,9]])
\begin{matrix}
+
<math>\begin{matrix}
 
1 & 2 & 3\\
 
1 & 2 & 3\\
 
4 & 5 & 6\\
 
4 & 5 & 6\\
 
7 & 8 & 9  
 
7 & 8 & 9  
\end{matrix}
+
\end{matrix}</math>
  
 
==See Also==
 
==See Also==

Revision as of 17:04, 27 December 2018

ARRAY()


Description

  • This function used to create an Array.
  • The parameters can be any values.
  • We can use the numeric values to create an array.
  • Also we can give non numeric values with in double quotes to create an array.
  • There are three types of arrays:
    • Indexed arrays - Arrays with numeric index
    • Associative arrays - Arrays with named keys
    • Multidimensional arrays - Arrays containing one or more arrays

Examples

  1. ARRAY([[1,2,3],[4,5,6],[7,8,9]])

See Also

References