String/Character Ques

-=[ In:admir...@earth.execpc. was heard to say... ]=-

 In> I'm writing to existing binary files

 In> TP5.0 will not allow conversion from array to array which is
 In> what I was trying to do.

 In> s: array[1..20] of string;
 In> c: array[1..20] of char;

 In> for i:=1 to 20 do
 In> begin
 In> c[i]:=s[i];
 In> end;

 In> Results in an ERROR 26 -(incompatible data types??)

You're trying to assign a string to a char element here, since s[i] is a
string element of array s. Try:

    c[i] := s[x][i];

where x is the current element of array s.

  $          Kim Forwood  <>           %
  %                  $
  $         For what purpose is life, if one cannot live freely?         %
            WARNING: Spammed email sent to me will be redirected
               to the sender's ISP. Flames merely laughed at.

___ Blue Wave/QWK v2.20