Board index » delphi » String/Character Ques
Kim.Forw...@access.cn.camriv.bc.ca (Kim Forwood)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
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> s: array[1..20] of string; In> for i:=1 to 20 do 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 c[i] := s[x][i]; where x is the current element of array s. /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\ ___ Blue Wave/QWK v2.20 |