<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV>Why is this more portable than using constants? especially since it breaks existing code?</DIV>
<DIV>--Randy<BR><BR>>>> <jay.krell@cornell.edu> 5/19/2009 5:37 PM >>><BR></DIV>
<DIV>Yes a little unfortunate but very portable.<BR><BR> - Jay (phone<SPAN class=Apple-style-span style="-webkit-composition-fill-color: rgba(175, 192, 227, 0.231373); -webkit-composition-frame-color: rgba(77, 128, 180, 0.231373)">)</SPAN></DIV>
<DIV><BR>On May 19, 2009, at 10:27 AM, DragiĻa Duric <<A href="mailto:dragisha@m3w.org">dragisha@m3w.org</A>> wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>VARIABLES?<BR><BR>Now every1 who was using CASE with error results has to adapt one's code?<BR><BR>What is rationale here? Portability?<BR><BR>TIA!<BR><BR>INTERFACE Uerror;<BR><BR>FROM Ctypes IMPORT int;<BR><BR>(* CONST *)<BR><*EXTERNAL "Uerror__EACCES"*> VAR EACCES: int;<BR><*EXTERNAL "Uerror__EADDRINUSE"*> VAR EADDRINUSE: int;<BR><*EXTERNAL "Uerror__EADDRNOTAVAIL"*> VAR EADDRNOTAVAIL: int;<BR><*EXTERNAL "Uerror__EAGAIN"*> VAR EAGAIN: int;<BR><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD>-- <BR>DragiĻa Duric <<A href="mailto:dragisha@m3w.org"><A href="mailto:dragisha@m3w.org">dragisha@m3w.org</A></A>> </TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></BODY></HTML>