Re: [NTLK] Programming question: build-number and/or date in NTK

From: Adam Tow (tow_at_tow.com)
Date: Tue Dec 17 2002 - 00:27:33 EST


You could create a build time constant for the time.

DefConst('kBuildTime, Time());

in your main application, you could add the slot 'buildTime and stick
in kBuildTime.

I'm not sure how you'd do the build number at the moment.

-adam

> on 16/12/02 19:12, newtontalk_at_ommos.net at newtontalk_at_ommos.net
> wrote:
>
> > Hi all
> >
> > I'm doing some programming in NTK and was wondering if I could
> > get automatically updated strings for a build-number and date.
> > I want to those in the aboutbox of my app.
> > With automatically updated, I mean the the build-number
> > increments every time I build the package and the build date
> > should reflect the date od the last build.
> >
> > I have NTK on Windows, if that makes a difference...
>
> I've never seen any settings for such a thing. I'm afraid you'll have
> to
> increment the build number manually...
>
> -Laurent.

-- 
Adam Tow <adam_at_tow.com>
tow.com <http://www.tow.com>
Tomorrow begins today.

-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Wed Jan 01 2003 - 10:02:36 EST