Ver Mensaje Individual
  #1  
Antiguo 25-11-2007
yessika19 yessika19 is offline
Miembro
 
Registrado: oct 2007
Posts: 17
Reputación: 0
yessika19 Va por buen camino
error: incompatible char and shortstring!!

hola!!!

ahora estoy haciendo una unidad en delphi e intento incluir una funcion:

Código Delphi [-]
function comprobar (s:TTablero; f,c: char; n,v:integer):boolean;
  var
     puede: boolean;
     b, i: char;
  begin
        puede:=false;
        b:=Chr(n);
        if v=0 then {horizontal}
           begin
                 for i:=pred(c) to (b+c) do

y en la última línea me dice q es incompatible un char y un shortstring, el problema es que no sé por qué me dice esto

espero que alguien pueda ayudarme

gracias!

Última edición por yessika19 fecha: 25-11-2007 a las 12:11:33.
Responder Con Cita