<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 24.09.2013 11:07, schrieb Frederic
Da Vitoria:<br>
</div>
<blockquote
cite="mid:CANe_y9TrK1BEk0+t4zNM8TX7RveZeQL5tPPAjc7+3YDNAH1a3Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2013/9/24 Reinier Olislagers <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:reinierolislagers@gmail.com"
target="_blank">reinierolislagers@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 24/09/2013 09:09, Marco van de Voort wrote:<br>
> In our previous episode, Bart said:<br>
>>> Raise an exception<br>
>><br>
>> This will break existing implementations that
either expect IM to be<br>
>> 999, or ABC to be 0 (indicating failure), and
that certainly do not<br>
>> expect that this function throws an exception
at them.<br>
><br>
> Yes, but since the routine probably has low
utilisation I choose for<br>
> structuring all conversion routines all the same.<br>
</div>
I would rather choose for maintaining backward
compatiblity, the *de<br>
facto behaviour* (return 0 on invalid values) as it is
quite sensible<br>
for this kind of numbers.<br>
<div><br>
> Moreover I don't think that first attempts should
fixate interfaces<br>
> and behaviour forever.<br>
</div>
It's quite strange though that Delphi compatibility is
quite insistently<br>
adhered to (BTW a good decision IMO).<br>
The function has been in FPC stable (for presumably a
while?) so I would<br>
really think hard before changing it.<br>
</blockquote>
<div><br>
</div>
<div>I could not find any trace of it on the embarcadero web
site. Wouldn't we be taking into account a compatibility
with something which does not exist, by any chance?<br>
</div>
</div>
</div>
</div>
</blockquote>
When there is no Delphi-compatibility needed there is still
backwards compatibility to code developed in FPC.<br>
<br>
Regards,<br>
Sven<br>
</body>
</html>