September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -1,20 +1,18 @@
#define system.
#define system'collections.
#define system'routines.
#define extensions.
import system'collections.
import system'routines.
import extensions.
// --- Program ---
#symbol program =
program =
[
// 1. Create
#var aMap := Dictionary new.
aMap@"key" := "foox".
aMap@"key2":= "foo2".
aMap@"key3":= "foo3".
aMap@"key4":= "foo4".
var aMap := Dictionary new.
aMap["key"] := "foox".
aMap["key"] := "foo".
aMap["key2"]:= "foo2".
aMap["key3"]:= "foo3".
aMap["key4"]:= "foo4".
// Enumerate
aMap run &each: aKeyValue
[ console writeLine:(aKeyValue key):" : ":aKeyValue ].
aMap forEach
(:aKeyValue)[ console printLine(aKeyValue key," : ",aKeyValue) ].
].