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

From: Paul Nuernberger (newton_at_thenuernbergers.com)
Date: Thu Dec 19 2002 - 02:53:10 EST


/End Lurk Mode

You could use a date-related build number - YYYYMMDD.HHMM

/Resume Lurk Mode

Paul Nuernberger
 

-----Original Message-----
From: newtontalk-bounce_at_newtontalk.net
[mailto:newtontalk-bounce_at_newtontalk.net]On Behalf Of Adam Tow
Sent: Monday, December 16, 2002 11:28 PM
To: newtontalk_at_newtontalk.net
Subject: Re: [NTLK] Programming question: build-number and/or date in
NTK

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 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:42 EST