source: tags/1.0.0/Forms/UFormOutput.pas

Last change on this file was 67, checked in by chronos, 9 years ago
File size: 604 bytes
Line 
1unit UFormOutput;
2
3{$mode delphi}
4
5interface
6
7uses
8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
9
10type
11
12 { TFormOutput }
13
14 TFormOutput = class(TForm)
15 Label2: TLabel;
16 MemoOutput: TMemo;
17 private
18 { private declarations }
19 public
20 procedure Reload;
21 end;
22
23var
24 FormOutput: TFormOutput;
25
26implementation
27
28{$R *.lfm}
29
30uses
31 UCore, UTargetInterpretter;
32
33{ TFormOutput }
34
35procedure TFormOutput.Reload;
36begin
37 if Core.CurrentTarget is TTargetInterpretter then
38 with TTargetInterpretter(Core.CurrentTarget) do
39 MemoOutput.Lines.Text := Output;
40end;
41
42end.
43
Note: See TracBrowser for help on using the repository browser.