Issues with block structures

General discussion on mikroPascal PRO for AVR.
Post Reply
Author
Message
lemiceterrieux
Posts: 39
Joined: 12 Nov 2020 19:51

Issues with block structures

#1 Post by lemiceterrieux » 05 Dec 2020 13:22

I saw that normally the IDE draws a line between a "Begin" and the corresponding "End" ; but in the attached source (a project for 90S8515, model railroad control), why isn't there such a line between lines # 348 and 364 first, 529 and 533 second ? Does the compiler not recognize these blocks, and so generate "wrong" code ? Thanks for any answer ...
Attachments
Controle.zip
(59.44 KiB) Downloaded 76 times
From France, SESSENHEIM

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Issues with block structures

#2 Post by filip » 09 Dec 2020 17:05

Hi,

It has something to do with the repeat..until statement between lines 348 until 364 and 532, when you delete them the line appears.

I will see if there is a solution for this.

Regards,
Filip.

lemiceterrieux
Posts: 39
Joined: 12 Nov 2020 19:51

Re: Issues with block structures

#3 Post by lemiceterrieux » 09 Dec 2020 19:00

Thanks in advance ... Some supplementary informations :
- I tested with "old" versions (2015 and even 2012) of the compiler that I found on the Web : the issues are the same.
- If I replace the "repeat ... until" with a "while" there is no problem.
- I wonder if this is related with the fact that the begin ... end itself is included in an "If" structure.
- I tested the prog : at least the second "block" works normally.
? ? ?
From France, SESSENHEIM

lemiceterrieux
Posts: 39
Joined: 12 Nov 2020 19:51

Re: Issues with block structures

#4 Post by lemiceterrieux » 29 Dec 2020 09:47

PS :
1) I saw that the IDE of the 8051version of MikroPascal seems to have the same issues.
2) Please could You notify when the issue has been solved, so I can download and install the new version ?
Thanks in advance ...
From France, SESSENHEIM

lemiceterrieux
Posts: 39
Joined: 12 Nov 2020 19:51

Re: Issues with block structures

#5 Post by lemiceterrieux » 19 Jan 2021 17:53

I downloaded MikroPascal a few days ago, the issue in the IDE is still there ...

:(
From France, SESSENHEIM

Post Reply

Return to “mikroPascal PRO for AVR General”