view testdictsetget.rhope @ 145:357f4ce3ca6d

Add incredibly ugly implementation of Read Delim to TCP Connection
author Mike Pavone <pavone@retrodev.com>
date Sun, 21 Nov 2010 22:08:17 -0500
parents e09c2d1d6d5b
children
line wrap: on
line source



Main[]
{
	dict <- [[[[Dictionary[]
	]Set["foo", "bar"]
	]Set["bovine","moo"]
	]Set["food", "fight"]
	]Set["fool", "wise"]

	Print[[dict]Index["food"]]
	{ Print[[dict]Index["bovine"]]
	{ Print[[dict]Index["foo"]]
	{ Print[[dict]Index["fool"]]
	{
		Print[[[[Dictionary[]
		]Set["+@Foo", "bar"]
		]Set["+", "add"]
		]Index["+"]]
	}}}}
}