<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">El 26/07/2016 a las 16:19, Michael Van
Canneyt escribió:<br>
</div>
<blockquote
cite="mid:alpine.DEB.2.10.1607261618180.11855@home.telenet.be"
type="cite">
<br>
<br>
On Tue, 26 Jul 2016, Santiago A. wrote:
<br>
<br>
<blockquote type="cite">El 26/07/2016 a las 12:27, Mattias
Gaertner escribió:
<br>
<blockquote type="cite">a3:=a1+a2 => cp = 1252
<br>
a3:=a2+a1 => cp = 65001
<br>
</blockquote>
Is that the expected behavior?
<br>
<br>
IMHO the result should be the same. And the only way is to make
it
<br>
depend on a3, no matter what is in the left side. That's the way
things
<br>
are done in Pascal
<br>
</blockquote>
<br>
This is not correct. In pascal the right-hand side of an
assignment has a well-defined type. The compiler checks whether
the type on the right is assignment-compatible to the left side.
<br>
</blockquote>
Sorry I meant no matter what is in the right side. Other way my
statment has no sense ;-)<br>
<blockquote
cite="mid:alpine.DEB.2.10.1607261618180.11855@home.telenet.be"
type="cite">
<br>
Michael.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Saludos
Santi
<a class="moz-txt-link-abbreviated" href="mailto:svaa@ciberpiula.net">svaa@ciberpiula.net</a></pre>
</body>
</html>