Creating an Array: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 10: | Line 10: | ||
{{array operation}} |
{{array operation}} |
||
==[[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") |
Revision as of 15:41, 21 January 2007
![Task](http://static.miraheze.org/rosettacodewiki/thumb/b/ba/Rcode-button-task-crushed.png/64px-Rcode-button-task-crushed.png)
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")