Page 1 of 1

ver 8.3 overlooked assignment

Posted: 27 Oct 2008 18:55
by janni
I'm not sure we still correct version 8.3 (it's close to four months now since it appeared as beta) or someting etirely different, but here's another bug. This simple program leads to PORTB=2 in version 7 (as it should) but in version 8.3 PORTB ends up equal to 4 :!: (The assignment i:=2 is 'overlooked' by the compiler.)

Code: Select all

var i:byte;

begin
 i:=4;
 PORTA:=4;
 i:=2;
 PORTA.1:=PORTA.i;
 PORTB:=i;
end.

Re: ver 8.3 overlooked assignment

Posted: 26 Mar 2009 16:56
by zristic
Checked in mP Pro, it works fine.
Thanks for reporting.

Posted: 26 Mar 2009 17:28
by janni
Yeah, I checked it earlier :) .