Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Gráficos
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

 
 
Herramientas Buscar en Tema Desplegado
  #3  
Antiguo 06-04-2009
JF Sebastian JF Sebastian is offline
Miembro
 
Registrado: oct 2006
Posts: 108
Poder: 20
JF Sebastian Va por buen camino
Código Delphi [-]
procedure almacena;
var f1: File of byte; f2: TextFile; b: byte;
begin
  AssignFile(f1,'img.bmp');
  AssignFile(f2,'texto.txt');
  reset(f1);
  rewrite(f2);
  while not eof(f1) do
  begin
    read(f1,b); writeln(f2,b);
  end;
  closefile(f1);
  closefile(f2);
end;
 
procedure lee;
var f1: File of byte; f2: TextFile; b: byte;
begin
  AssignFile(f1,'img2.bmp');
  AssignFile(f2,'texto.txt');
  rewrite(f1);
  reset(f2);
  while not eof(f2) do
  begin
    readln(f2,b); write(f1,b);
  end;
  closefile(f1);
  closefile(f2);
end;

Como veis es muy facil...
Responder Con Cita
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 17:37:26.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi