title: anyone that can help me with arrays within upcase chars and loops Delphi 7 ?
body: <p>here is my code : </p>
  
  <pre><code>var
  aChar,temp : char ;
  test : string ;
  k : integer ;
  begin
  K := 1 ;
  test := edit1.Text ;
  for k := 1 to 10 do
  temp := test[k] ;
  aChar := upcase(Temp) ;
  richEdit1.Lines.Add(aChar);
  richEdit1.Lines.Add(#13) ;
  end;
  </code></pre>
  
  <p>for some reason it returns random values such as # and T but i have initialized them ? anybody can figure it out please let me know as im writing on this stuff tomorrow .</p>