Changeset 83 for trunk/Forms/UFormMain.pas
- Timestamp:
- Aug 4, 2017, 9:11:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r81 r83 183 183 SDoYouWantToSaveProject = 'There are unsaved changes in project. Do you want to save them?'; 184 184 SCloseProjectFirst = 'Project need to be closed before it can be openned'; 185 SError = 'Error'; 185 186 186 187 { TFormMain } … … 482 483 procedure TFormMain.AProgramCompileExecute(Sender: TObject); 483 484 begin 484 with Core.CurrentTarget do begin 485 with Core.CurrentTarget do 486 try 485 487 AProgramStop.Execute; 486 488 SourceCode := FormSourceCode.MemoSource.Text; … … 492 494 FormTargetCode.MemoTarget.Text := TargetCode; 493 495 UpdateInterface; 496 except 497 on E: Exception do 498 MessageDlg(SError, E.Message, mtError, [mbOk], 0); 494 499 end; 495 500 end;
Note:
See TracChangeset
for help on using the changeset viewer.