Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/Delphi/Agenda 1.1/Sources/   (Columbo Version 0.7©)  Datei vom 4.1.2008 mit Größe 926 B image not shown  

Quelle  reThreads3.pas   Sprache: Delphi

 
unit reThreads3;

interface

uses
  Classes, Dialogs, MMSystem, Utilities, SpeechLib_TLB, Windows ;

type
  TMyMorseThread = class(TThread)
  private
    { Déclarations privées }
  protected
    procedure Execute; override;
    public
       Tx:array [0..11] of String[240];
       id : Cardinal;
       this:integer;
  end;

implementation

{ Important : les méthodes et propriétés des objets de la VCL peuvent uniquement
  être utilisés dans une méthode appelée en utilisant Synchronize, comme :

      Synchronize(UpdateCaption);

  où UpdateCaption serait de la forme

    procedure TMyThread.UpdateCaption;
    begin
      Form1.Caption := 'Mis à jour dans un thread';
    end; }

{ TMyThread }

procedure TMyMorseThread.Execute;
begin
  while Tx[this] <> '' do begin
    Morse(Tx[this]);
    Tx[this]:='';
    this := (this + 1) mod 12;
  end;
  Suspend;
end;


end.



89%


¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.