Difference between revisions of "Manuals/calci/ARRAYSIZE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''ARRAYSIZE()'''</div><br/> *The parameter can me any integer values. ==Description== *This function makes an array with the values passed in. *T...")
 
 
Line 28: Line 28:
 
==See Also==
 
==See Also==
 
*[[Manuals/calci/ARRAYIFY | ARRAYIFY]]
 
*[[Manuals/calci/ARRAYIFY | ARRAYIFY]]
*[[Manuals/calci/ELEMENTINARRAY  | ELEMENTINARRAY ]]
+
*[[Manuals/calci/ARRAYMAKE | ARRAYMAKE ]]
 
*[[Manuals/calci/ARRAY  | ARRAY]]
 
*[[Manuals/calci/ARRAY  | ARRAY]]
  

Latest revision as of 03:19, 5 March 2020

ARRAYSIZE()


  • 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 ARRAYSIZE(),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".
  • This function will return the result as null when the given parameters are non numeric.

Examples

  1. ARRAYSIZE(5) = 0 0 0 0 0
  2. ARRAYSIZE(4,3)

See Also

References