<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Am 2016-04-15 um 20:35 schrieb Sven Barth:<br>
<blockquote
cite="mid:CAFMUeB-rn9u2PD=60oF3bm7mhXyF9e_4ouMMu-UAHLoje11NBA@mail.gmail.com"
type="cite">
<p>Am 15.04.2016 18:37 schrieb "Jürgen Hestermann" <<a
moz-do-not-send="true" href="mailto:juergen.hestermann@gmx.de"><a class="moz-txt-link-abbreviated" href="mailto:juergen.hestermann@gmx.de">juergen.hestermann@gmx.de</a></a>>:<br>
><br>
> Another advantage of having 1-based indeces in dyn. arrays<br>
> would be that you could store indeces in unsigned integers<br>
> while with 0-based indices high() may give -1.</p>
<p>Indices in Pascal are always signed.</p>
<br>
</blockquote>
Yes, but I could store indices in DWORD if they would be 1-based<br>
and would not risk an exception if the index is "not valid" (which<br>
would be 0 in this case while it's -1 for 0-based indices).<br>
I would not be forced to make sure it is an signed integer where I
store it.<br>
<br>
</body>
</html>