Ver Mensaje Individual
  #22  
Antiguo 17-11-2006
Avatar de seoane
[seoane] seoane is offline
Miembro Premium
 
Registrado: feb 2004
Ubicación: A Coruña, España
Posts: 3.717
Reputación: 24
seoane Va por buen camino
Que divertidos son los TBCD

Código Delphi [-]
var
  s,t,u: Variant;
begin
  s:= VarFMTBcdCreate('1',21,0);
  t:= VarFMTBcdCreate('1',21,0);
  u:= s+t;
  while Length(u) <= 20 do
  begin
    s := t;
    t := u;
    u:= s+t;
  end;
  ShowMessage(t);
end;
Responder Con Cita