From 37da2899f40661e3e9631e497da8dc59b971cbd0 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 17:07:39 +0000 Subject: 20060303a --- appl/lib/tcl_modhash.b | 114 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 appl/lib/tcl_modhash.b (limited to 'appl/lib/tcl_modhash.b') diff --git a/appl/lib/tcl_modhash.b b/appl/lib/tcl_modhash.b new file mode 100644 index 00000000..ebb85146 --- /dev/null +++ b/appl/lib/tcl_modhash.b @@ -0,0 +1,114 @@ +implement Mod_Hashtab; + +include "sys.m"; +include "draw.m"; +include "tk.m"; +include "tcl.m"; +include "tcllib.m"; + +include "utils.m"; + + +hashasu(key : string,n : int): int{ + i, h : int; + h=0; + i=0; + while(i t}; + return ref h; +} + +MHash.dump(h : self ref MHash) : string { + retval :string; + for (i:=0;i