StrToInt (texto)
Convierte la cadena de texto pasada como parámetro a un número entero (integer).
Ejemplo de uso:
for i := 1 to Length(textoInt) do
begin
textoRes := textoRes + sumarCaracter(textoInt[i],
strtoint(txtNumSumar.Text), opSumar.Checked);
end;
Uses SysUtils.
Funciones Delphi |