ver 8.3 overlooked assignment

Beta Testing discussion on mikroPascal.
Post Reply
Author
Message
janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

ver 8.3 overlooked assignment

#1 Post by janni » 27 Oct 2008 18:55

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.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: ver 8.3 overlooked assignment

#2 Post by zristic » 26 Mar 2009 16:56

Checked in mP Pro, it works fine.
Thanks for reporting.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

#3 Post by janni » 26 Mar 2009 17:28

Yeah, I checked it earlier :) .

Post Reply

Return to “mikroPascal Beta Testing”