Skip to content

Commit

Permalink
"Version" display
Browse files Browse the repository at this point in the history
  • Loading branch information
martok committed Aug 1, 2011
1 parent 6a5f408 commit e1df2f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions uMain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ implementation

uses uTests;

const
sProgramTitle = 'pi - Tiny Math Tool';
sProgramVersionStr = 'TP 2';

{$R *.dfm}

procedure TfmPiMain.FormCreate(Sender: TObject);
begin
Application.Title:= sProgramTitle;
Caption:= Format('%s (%s)',[sProgramTitle, sProgramVersionStr]);
MathS:= TMathSystem.Create;
MathS.Output.Render:= reOutput;
reOutput.Clear;
Expand Down

0 comments on commit e1df2f8

Please sign in to comment.