Hello, are there any restrictions of codesize within a codeblock?
For examle the first code doesn't work:
if ( value ){ . . many Codelines . }
If i shorten the code above, then it works. i couldn't find out the border to the codesize within the block.
But this Code works correct:
if ( value ){ myfunction(); } void myfunction (void){ . . many Codelines . }
In both cases i don't get any error-messages from the compiler, while compiling.
Thanks for help Christian Tauschek
are there any restrictions of codesize within a codeblock?
The limitations of the compiler are given in the manual (always a good source to refer to in case of problems):
http://www.keil.com/support/man/docs/c51/c51_xd.htm
There is no mention of a block length limit, but other limits (e.g. nesting depth) exist.