Changeset 201 for branches/interpreter2/UFormMain.pas
- Timestamp:
- Apr 16, 2020, 7:40:38 PM (5 years ago)
- Location:
- branches/interpreter2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/interpreter2
-
Property svn:ignore
set to
lib
interpreter
interpreter.lps
interpreter.res
heaptrclog.trc
-
Property svn:ignore
set to
-
branches/interpreter2/UFormMain.pas
r200 r201 23 23 procedure ButtonRunClick(Sender: TObject); 24 24 procedure FormActivate(Sender: TObject); 25 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 26 procedure FormDestroy(Sender: TObject); 25 27 procedure FormShow(Sender: TObject); 26 28 private … … 56 58 end; 57 59 60 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 61 begin 62 63 end; 64 65 procedure TFormMain.FormDestroy(Sender: TObject); 66 begin 67 if Assigned(Prog) then Prog.Free; 68 end; 69 58 70 procedure TFormMain.FormShow(Sender: TObject); 59 71 begin … … 85 97 Parser.Source := MemoSource.Lines.Text; 86 98 Parser.Parse; 99 if Assigned(Prog) then Prog.Free; 87 100 Prog := Parser.Prog; 88 101 Parser.Free;
Note:
See TracChangeset
for help on using the changeset viewer.