Line | |
---|
1 | unit UFormOutput;
|
---|
2 |
|
---|
3 | {$mode delphi}
|
---|
4 |
|
---|
5 | interface
|
---|
6 |
|
---|
7 | uses
|
---|
8 | Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
---|
9 |
|
---|
10 | type
|
---|
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 |
|
---|
23 | var
|
---|
24 | FormOutput: TFormOutput;
|
---|
25 |
|
---|
26 | implementation
|
---|
27 |
|
---|
28 | {$R *.lfm}
|
---|
29 |
|
---|
30 | uses
|
---|
31 | UCore, UTargetInterpretter;
|
---|
32 |
|
---|
33 | { TFormOutput }
|
---|
34 |
|
---|
35 | procedure TFormOutput.Reload;
|
---|
36 | begin
|
---|
37 | if Core.CurrentTarget is TTargetInterpretter then
|
---|
38 | with TTargetInterpretter(Core.CurrentTarget) do
|
---|
39 | MemoOutput.Lines.Text := Output;
|
---|
40 | end;
|
---|
41 |
|
---|
42 | end.
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.