Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-07

var i: 2..5; {behaves strangely with case}

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Pavel Sutyrin

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.

Reply by email