dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}
If you would like to have a dictionary of strings to strings then you can use the strtabs module. It can be used like so:
import strtabs
var mytab = newStringTable({"Alice": "2341", "Beth": "9102"},
modeCaseInsensitive)
echo(mytab["Alice"]) #=> 2341
If you want a dictionary (hashtable) of any type then you can use the tables module. It can be used like so:
import tables
var mytab = {"Alice": 2341, "Beth": 9102}.toTable()
echo(mytab["Alice"]) #=> 2341