<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>According to NW the size of LONGINT is +/- 2147483647<br>
    </p>
    <p><img src="cid:part1.259F8B8B.AF6EE83F@web.de" alt=""></p>
    <p><br>
    </p>
    <p>However when I run</p>
    <p>==================================================<br>
    </p>
    <p>MODULE powerof2;<br>
      IMPORT Out;<br>
      PROCEDURE power*;<br>
      VAR i : INTEGER; value : LONGINT;<br>
      BEGIN<br>
      i := 0; value := 1;<br>
      WHILE i < 32 DO<br>
      Out.Ln(); Out.Int(i,5); Out.Int(value,20);<br>
      INC(i); value := 2 * value;<br>
      END;<br>
      END power;<br>
      BEGIN<br>
      END powerof2.power</p>
    <p>===================================================</p>
    <p> I get</p>
    <p>===================================================</p>
    <p> 0                   1<br>
          1                   2<br>
          2                   4<br>
          3                   8<br>
          4                  16<br>
          5                  32<br>
          6                  64<br>
          7                 128<br>
          8                 256<br>
          9                 512<br>
         10                1024<br>
         11                2048<br>
         12                4096<br>
         13                8192<br>
         14               16384<br>
         15               32768<br>
         16               65536<br>
         17              131072<br>
         18              262144<br>
         19              524288<br>
         20             1048576<br>
         21             2097152<br>
         22             4194304<br>
         23             8388608<br>
         24            16777216<br>
         25            33554432<br>
         26            67108864<br>
         27           134217728<br>
         28           268435456<br>
         29           536870912<br>
         30          1073741824<br>
         31 -2147483648</p>
    <p>=============================</p>
    <p>Has anybody got an explanation?</p>
    <p>Thanky and bye Dieter<br>
    </p>
  </body>
</html>