view samples/hash.tp @ 111:b2a3f202d485

Fleshed out the UI a little. Added a "literal" button that replaces the operator panel with a literal panel. Added the navigation buttons, but they're not functional yet.
author Mike Pavone <pavone@retrodev.com>
date Sun, 14 Apr 2013 17:24:53 -0700
parents 7f635666c73d
children 2a0463c46913
line wrap: on
line source

#{
	main <- {
		print: "hash of 'foo' is " . ("foo" hash) . "\n"
		print: "hash of 'bar' is " . ("bar" hash) . "\n"
		print: "hash of 'foobar' is " . ("foobar" hash) . "\n"
		print: "hash of 1 is " . (1 hash) . "\n"
		print: "hash of 2 is " . (2 hash) . "\n"
		print: "hash of 3 is " . (3 hash) . "\n"
	}
}