[fpc-devel] var i: 2..5; {behaves strangely with case}

Pavel Sutyrin psut at mail.ru
Sat Jul 26 15:23:50 CEST 2008


Hello everyone, 
 
Attached is a program that illustrates misbehaviour: second assert fails as n
gets 4. Commented are actions to make it work properly. It has something to do
with first line of case probably. Please, take a look. 

Checked with FPC 2.2.0, 2.3.1, svn trunk.

System is: "Linux 2.6.20-17-generic #2 SMP Mon Jun 9 22:08:13 UTC 2008 i686 GNU/Linux"

Thanks in advance, 

--Pavel. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: case.pas
Type: text/x-pascal
Size: 451 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080726/957db636/attachment.pas>


More information about the fpc-devel mailing list