<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    PChar is a typed pointer, so you need to point it to the memory
    location of TmpBugStr using the "@" operator, like so:<br>
    <br>
    const<br>
       TempString : PChar = @TmpBugStr; <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 01/10/2018 13:18, Ozz Nixon wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+knxPp5Ervy2nTgj3zHm3a8Y7hZqzsp8fg+eW2OttmvQ04nFQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:large">Type</div>
        <div class="gmail_default" style="font-size:large">  
          Line:Array[0..127] of Char;</div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
        <div class="gmail_default" style="font-size:large">Var</div>
        <div class="gmail_default" style="font-size:large">  
          TmpBugStr:Line;</div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
        <div class="gmail_default" style="font-size:large">{later in the
          code}<br>
        </div>
        <div class="gmail_default" style="font-size:large">Const</div>
        <div class="gmail_default" style="font-size:large">   TempString
          : PChar = TmpBugStr; <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>