<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>
<div style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Refany.Hash() simply raises a Refany.Error, which is marked as fatal.  And the comment for it in Refany.i3 does state that it “causes a checked runtime error”.  (Same for Refany.Compare() (rather
 than Refany.Equal(), as I previously said).)<br>
<br>
— JC Chu</div>
</div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:hosking@purdue.edu">Antony Hosking</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎2/‎27/‎2014 9:08</span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:jcchu@acm.org">JC Chu</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Cc:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><a href="mailto:m3devel@elegosoft.com">^M3DEVEL</a></span><br>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject:
</span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: [M3devel] REFANY-keyed tables?</span><br>
<br>
</div>
<div class="BodyFragment">
<div class="PlainText">Sounds like some sort of build error.  What is the exception?<br>
<br>
On Feb 26, 2014, at 12:08 PM, JC Chu <jcchu@acm.org> wrote:<br>
<br>
> Hi,<br>
> <br>
> I need a REFANY-to-INTEGER table in my program but RefIntTbl.Default is giving me runtime errors.  Apparently Table(Key, Value) uses Key.Equal() and Key.Hash(), but those procedures in Refany, which is use to instantiate RefIntTbl, both raise a fatal exception.<br>
> <br>
> I’m a bit confused since a number of REFANY-keyed tables are shipped with CM3.  Is this actually the expected behavior or am I doing anything wrong?<br>
> <br>
> Thanks.<br>
> <br>
> — JC Chu<br>
<br>
</div>
</div>
</body>
</html>