Changes

Jump to navigation Jump to search
109 bytes removed ,  11:06, 7 August 2014
no edit summary
| '''Examples'''
|
* {{Code|map:entry("M", "Monday")}} creates a map with the values <code>map { "M": "Monday" }</code>.
|}
* {{Code|map:new()}} creates an empty map.
* {{Code|map:new(())}} creates an empty map.
* {{Code|map:new((map:entry(0, "no"), map:entry(1, "yes")))}} creates a map with the values <code>map { 0: "no", 1: "yes" }</code>.* <code>map:new(($week, map{ 7: "Unbekannt" }))</code> creates a map with the values <code>map { 0: "Sonntag", 1: "Montag", 2: "Dienstag", 3: "Mittwoch", 4: "Donnerstag", 5: "Freitag", 6: "Samstag", 7: "Unbekannt" }</code>.* <code>map:new(($week, map{ 6: "Sonnabend" }))</code> creates a map with the values <code>map { 0: "Sonntag", 1: "Montag", 2: "Dienstag", 3: "Mittwoch", 4: "Donnerstag", 5: "Freitag", 6: "Sonnabend" }</code>.
|}
| '''Examples'''
|
* {{Code|map:remove($week, 4)}} creates a map with the values <code>map { 0: "Sonntag", 1: "Montag", 2: "Dienstag", 3: "Mittwoch", 5: "Freitag", 6: "Samstag" }</code>.* {{Code|map:remove($week, 23)}} creates a map with the values <code>map { 0: "Sonntag", 1: "Montag", 2: "Dienstag", 3: "Mittwoch", 4: "Donnerstag", 5: "Freitag", 6: "Samstag" }</code>.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu