Get Map Entry Continue Property

If the key that we are looking for is not in the first entry, then the "remaining" part of the map is searched for the key.

value at key in map [ entry bad_key: value, remaining ] = value at key in map remaining

Examples

value at "TX" in map [ entry "FL": "Florida", [ entry "AZ": "Arizona", [ entry "TX": "Texas", [ ] ] ] ] = value at "TX" in map [ entry "AZ": "Arizona", [ entry "TX": "Texas", [ ] ] ]

value at "EST" in map [ entry "PST": "Pacific Time", [ entry "CST": "Central Time", [ ] ] ] = value at "EST" in map [ entry "CST": "Central Time", [ ] ]

Quiz (1 point)

Please fill in the blank:

(value for "MT" from map [ entry "PST":"Pacific Time", [ entry "MT":"Mountain Time", [ ] ] ]) = (value for "MT" from map ___________)

Become a subscriber to save your progress, see the correct answer, and more!

Comments

Please log in to add comments