Difference between revisions of "Manuals/calci/ARRAYMAKE"

From ZCubes Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
\end{matrix}</math>  
 
\end{matrix}</math>  
  
#ARRAYMAKE(3,2,4)
+
3. ARRAYMAKE(3,2,4)
 
<math>\begin{matrix}
 
<math>\begin{matrix}
 
0 & 0  & 0 & 0 & 0 & 0  & 0 & 0\\
 
0 & 0  & 0 & 0 & 0 & 0  & 0 & 0\\

Revision as of 03:41, 5 March 2020

ARRAYMAKE()


  • The parameter can me any integer values.

Description

  • This function makes an array with the values passed in.
  • The parameters can be any values.
  • We can use the numeric values 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
  • In ARRAYMAKE(),the first parameter indicates the number of rows.
  • The second Parameter indicates the number of columns.
  • The third parameter indicates the number of times.
  • So it will create the array with the specified number of rows,columns and number of times with the number "0".

Examples

  1. ARRAYMAKE(4) = 0 0 0 0
  2. ARRAYMAKE(3,2)

3. ARRAYMAKE(3,2,4)

See Also

References