June 2018 Update

This commit is contained in:
Ingy döt Net 2018-06-22 20:57:24 +00:00
parent ba8067c3b7
commit 22f33d4004
5278 changed files with 84726 additions and 14379 deletions

View file

@ -1,5 +1,11 @@
// Creates and initializes a new Array
// Constant array
var intArray := (1, 2, 3, 4, 5).
// Generic array
var stringArr := Array new:5.
stringArr[0] := "string".
// Typified array
Array<literal> arr := V<literal>(5).
arr[0] := "a".
arr[1] := "b".

View file

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

View file

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