Skip to content

Array command

Alvin Cheng edited this page Jan 9, 2023 · 2 revisions

Description

Welcome to the array command! This command will set up a variable as an array, it will map all the arguments except the final one as elements of the array. The final argument will be the variable that holds the array. As I mentioned on the variables page, you must prefix the array variable with ARR for an array data type, or else an error will occur.

Example

$ARR_VARIABLE = (array "element" "element");

Clone this wiki locally