Difference between revisions of "Manuals/calci/ARRAYMAKE"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''ARRAYMAKE()'''</div><br/> *The parameter can me any integer values. ==Description== *This function makes an array with the values passed in. *T...") |
|||
Line 18: | Line 18: | ||
#ARRAYMAKE(4) = 0 0 0 0 | #ARRAYMAKE(4) = 0 0 0 0 | ||
#ARRAYMAKE(3,2) | #ARRAYMAKE(3,2) | ||
+ | <math> | ||
0 0\ | 0 0\ | ||
0 0\ | 0 0\ | ||
− | 0 0\ | + | 0 0\</math> |
#ARRAYMAKE(3,2,4) | #ARRAYMAKE(3,2,4) | ||
+ | <math> | ||
0 0 0 0 0 0 0 0\ | 0 0 0 0 0 0 0 0\ | ||
0 0 0 0 0 0 0 0\ | 0 0 0 0 0 0 0 0\ | ||
0 0 0 0 0 0 0 0 | 0 0 0 0 0 0 0 0 | ||
+ | </math> | ||
+ | |||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/ARRAYIFY | ARRAYIFY]] | ||
+ | *[[Manuals/calci/ELEMENTINARRAY | ELEMENTINARRAY ]] | ||
+ | *[[Manuals/calci/ARRAY | ARRAY]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://data8.org/fa16/ref.html Array] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
− | + | *[[ Z3 | Z3 home ]] |
Revision as of 02:37, 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
- ARRAYMAKE(4) = 0 0 0 0
- ARRAYMAKE(3,2)
Failed to parse (syntax error): {\displaystyle 0 0\ 0 0\ 0 0\}
- ARRAYMAKE(3,2,4)
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0 0 0 0 0 0 0 0\ 0 0 0 0 0 0 0 0\ 0 0 0 0 0 0 0 0 }