title: Assign String to Array of Characters
body: <p><strong>Question One</strong></p>
  
  <p>I have</p>
  
  <pre><code>var example : array[0..15] of char;
  </code></pre>
  
  <p>I want to assign the value from an input to that variable</p>
  
  <pre><code>example := inputbox('Enter Name', 'Name', '');
  </code></pre>
  
  <hr>
  
  <p>In the highscores unit I have record and array</p>
  
  <pre><code>type
  points = record
  var
    _MemoryName : array[0..15] of char;
    _MemoryScore : integer;
  end;
  
  var
  rank : array[1..3] of points;
  </code></pre>
  
  <hr>
  
  <pre><code>var s: string;
   a: packed array[0..15] of char;
  
  highscoresdata.position[1]._MemoryName := StrPLCopy(a, s, Length(a)) ;
  </code></pre>
  
  <p>returns -> (186): <code>E2010 Incompatible types: 'array[0..15] of Char' and 'PWideChar'</code></p>
  
  <pre><code>var s: string;
   a: packed array[0..15] of char;
  
               s := InputBox('caption', 'Caption', 'Caption');
               FillChar(a[0], length(a) * sizeof(char), #0);
               Move(s[1], a[0], length(a) * sizeof(char));
        scores.rank[1]._MemoryName := &lt;&lt;tried both s and a&gt;&gt; ;
  </code></pre>
  
  <p>returns <code>(189): E2008 Incompatible types</code></p>