<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 20/02/2019 15:46, Paul van Helden
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPjGFZfS7CzviiAKS7ew_Smff0OtQ7XVNiZ83Es0qONpt6Z7wg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Wed, Feb 20, 2019 at 4:35 PM Dimitrios Chr.
          Ioannidis via fpc-devel <<a
            href="mailto:fpc-devel@lists.freepascal.org"
            moz-do-not-send="true">fpc-devel@lists.freepascal.org</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div bgcolor="#FFFFFF">
              <blockquote type="cite">
                <div dir="ltr">
                  <div dir="ltr">
                    <div class="gmail_quote"> </div>
                  </div>
                </div>
              </blockquote>
              <p>  Even if declaring variables as close as possible to
                where the variable will be used ( debugging wise not
                readability wise ) leads to more correct code, the
                problem is to avoid the temptation to use them in other
                places too. <br>
              </p>
            </div>
          </blockquote>
          <div>Variables declared within a begin...end cannot be used
            elsewhere. (E.g. for var I:=0 to .. won't let you use I
            after the loop)</div>
        </div>
      </div>
    </blockquote>
    <br>
    for var i:=0 to 9 begin end;<br>
    <br>
    That "i" is declared outside the begin end.<br>
  </body>
</html>