comparison samples/hash.tp @ 79:7f635666c73d

Add hash and int32 messages to string. Add hash message to int32. Update compile script
author Mike Pavone <pavone@retrodev.com>
date Mon, 16 Jul 2012 01:10:12 -0700
parents
children 2a0463c46913
comparison
equal deleted inserted replaced
78:abc6f3d644a4 79:7f635666c73d
1 #{
2 main <- {
3 print: "hash of 'foo' is " . ("foo" hash) . "\n"
4 print: "hash of 'bar' is " . ("bar" hash) . "\n"
5 print: "hash of 'foobar' is " . ("foobar" hash) . "\n"
6 print: "hash of 1 is " . (1 hash) . "\n"
7 print: "hash of 2 is " . (2 hash) . "\n"
8 print: "hash of 3 is " . (3 hash) . "\n"
9 }
10 }