From 773291198c0b22389127b6d4eef7928f871f645f Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Fri, 18 Mar 2016 23:22:03 +1100 Subject: [PATCH] Added a date and id stamp to appear in the About box. This must be manually updated whenever you make a change to the code. See source/global/version.bas for details. --- source/global/version.bas | 5 +++++ source/ide/ide_methods.bas | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/global/version.bas b/source/global/version.bas index dd50eb3f1..0fad240a8 100644 --- a/source/global/version.bas +++ b/source/global/version.bas @@ -1,2 +1,7 @@ DIM SHARED Version AS STRING +DIM SHARED BuildNum AS STRING Version$ = "1.000" +'BuildNum format is YYYYMMDD/id, where id is a ever-increasing +'integer. If you make a change, update the date and increase the id! +BuildNum$ = "20160318/1" + diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 86078d2e1..1513774da 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -3785,7 +3785,7 @@ DO IF menu$(m, s) = "#About..." THEN PCOPY 2, 0 - idemessagebox "About", "QB64 Version " + Version$ + idemessagebox "About", "QB64 Version " + Version$ + " (" + BuildNum$ + ")" PCOPY 3, 0: SCREEN , , 3, 0: idewait4mous: idewait4alt GOTO ideloop END IF