here is my 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;
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 .