<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 23, 2020 at 4:25 PM dano none via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
end;<br>
my_base := my_base + 15;<br>
writeln('current base ',my_base:2);<br>
ch := ReadKey;<br>
{ end; { end i = column indexer }}<br></blockquote><div><br></div><div>A different way to explain Bart's comment is that the inner loop over j is a compound statement (between the inner loop begin/end block) which is followed by more statements (the statements after the first end quoted above). If you comment out the outer begin/end block these statements are not included in the execution of the outer loop, so for example my_base is not incremented as part of the outer loop if the begin/end pair is commented out as indicated in your example.<br></div></div></div>