te agredezco la ayuda , una pregunta sobre el codigo , el cero en "0.." ¿ ya no importa y o es el mismo resultado ?
avance en el codigo :
Código Delphi
[-]
function hola(texto:string):bool;
var
test: string;
probando: Array of Char;
bein
SetLength(probando, length(texto) + 7);
test := 'hola mundo';
StrCopy(probando, pchar(test));
end;
pero ahora me da este error que antes no me daba : "There is no overloaded version of 'StrCopy' that can be called with these arguments" , ¿ a que se debe ?