Creating an Array
Creating an Array
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
In this task, the goal is to create an array.
mIRC
Interpeter: mIRC Script Editor Libraries: mArray Snippet
alias creatmearray { .echo -a $array_create(MyArray, 5, 10) }
Visual Basic 2005.Net
Dim myArray as new ArrayList
Dim myArray2 as new ArrayList = { "Item1", "Item2" }
Javascript
var myArray = new Array();
var myArray2 = new Array("Item1","Item2");
3DS Max 8 - MaxScript
myArray = #()
myArray2 = #("Item1", "Item2")