Hi ME's
when we add a infinit loop inner main program, in this place the compiler understand that it loop
is the "end." of program. Compiler don't issue warning or errors but code stay truncated.
ofcourse that by logic the program never will go ahead but can be a programmer error or a simple
way to test at this point. i think that compiler never can missing the code after of loop and need
to terminate exactly at 'end.' statement.
I don't remember about this before.
infinit loop is stopping compiler
infinit loop is stopping compiler
Working with you, for you!
MAN
MAN
- slavisa.zlatanovic
- mikroElektronika team
- Posts: 1321
- Joined: 07 Apr 2009 09:39
Re: infinit loop is stopping compiler
Hi!
Thanks!
I'll inform our software developers regarding this issue. It will be considered.Compiler don't issue warning or errors but code stay truncated.
Thanks!
Best regards
Slavisa
Slavisa
Re: infinit loop is stopping compiler
I'm of the same opinion. There's no need to outguess programmer's intentions - if one want's to skip part of code in compilation, one may do it easily by oneself. Code testing is indeed much harder when whole RAM & ROM organisation may change due to temporary insertion of an infinite loop.MAN wrote:i think that compiler never can missing the code after of loop and need
to terminate exactly at 'end.' statement.
Re: infinit loop is stopping compiler
Hi Janni;
The .cof seem don't find the "end." statement too.
Tks slavisa;
without doub, we never see what exactly was happened. This too put a "error" in the final .cof generated.janni wrote: Code testing is indeed much harder when whole RAM & ROM organisation may change due to temporary insertion of an infinite loop.
The .cof seem don't find the "end." statement too.
Tks slavisa;
Working with you, for you!
MAN
MAN