All pastes #478599 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-09 08:41 UTC
rendered paste body
If Cs2<Cs then begin
                 Cs:=100+(Cs2-Cs);
                 if Sc2-1<Sc then Sc:=60+(Sc2-1-Sc)
                             else Sc:=Sc2-1-Sc;
                end
           else begin
                if Sc2<Sc then Sc:=60+(Sc2-Sc)
                          else Sc:=Sc2-Sc;
                Cs:=Cs2-Cs;
                end;