Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,6 @@
// Weak array
var stringArr := Array.allocate(5);
stringArr[0] := "string";
// initialized array
var intArray := new int[]{1, 2, 3, 4, 5};

View file

@ -0,0 +1,5 @@
//Create and initialize ArrayList
var myAl := new system'collections'ArrayList().append:"Hello".append:"World".append:"!";
//Create and initialize List
var myList := new system'collections'List().append:"Hello".append:"World".append:"!";

View file

@ -0,0 +1,4 @@
//Create a dictionary
var dict := system'collections'Dictionary.new();
dict["Hello"] := "World";
dict["Key"] := "Value";