Changeset 3 for trunk/UMainForm.pas
- Timestamp:
- Feb 9, 2012, 1:25:43 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 1 lib 2 LazFuckIDE.exe
-
- Property svn:ignore
-
trunk/UMainForm.pas
r2 r3 52 52 ToolButton6: TToolButton; 53 53 ToolButton7: TToolButton; 54 procedure AExitExecute(Sender: TObject); 54 55 procedure ARunExecute(Sender: TObject); 55 56 procedure FormCreate(Sender: TObject); 57 procedure FormDestroy(Sender: TObject); 56 58 procedure FormShow(Sender: TObject); 57 59 private … … 81 83 begin 82 84 BrainFuckInterpreter := TBrainFuckInterpreter.Create; 83 BrainFuckInterpreter.Source := MemoSource.Lines; 85 end; 86 87 procedure TMainForm.FormDestroy(Sender: TObject); 88 begin 89 BrainFuckInterpreter.Free; 84 90 end; 85 91 … … 87 93 begin 88 94 InterpreterForm.Show; 89 BrainFuckInterpreter.Input := InterpreterForm.MemoInput.Lines ;90 BrainFuckInterpreter. Output := InterpreterForm.MemoOutput.Lines;95 BrainFuckInterpreter.Input := InterpreterForm.MemoInput.Lines.Text; 96 BrainFuckInterpreter.Source := MemoSource.Lines.Text; 91 97 BrainFuckInterpreter.Run; 98 InterpreterForm.MemoOutput.Lines.Text := BrainFuckInterpreter.Output; 99 end; 100 101 procedure TMainForm.AExitExecute(Sender: TObject); 102 begin 103 Close; 92 104 end; 93 105
Note:
See TracChangeset
for help on using the changeset viewer.