Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #1518

Re: Compile Date - buildversion.zip (0/1)

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Compile Date - buildversion.zip (0/1)
Date 2011-06-23 08:47 -0500
Organization Aioe.org NNTP Server
Message-ID <itvg5v$j0m$1@speranza.aioe.org> (permalink)
References (1 earlier) <jnt107pvjiepom5gol7slboddv553ff3uu@4ax.com> <itr1ve$290d$1@adenine.netfront.net> <qj73071b84h77ar2p4s93kshcr9vt4lm4o@4ax.com> <itso87$6a5$1@speranza.aioe.org> <itt908$1tq7$1@adenine.netfront.net>

Show all headers | View raw


Gary,

Buildversion doesn’t give you the date by default but if you mix 
buildversion plus what Mathias and Wolfgang mentioned, you will be able to 
get the date the program was last compiled.

Here is the code from __BUILD_VERSION__ module:
DEFINE __BUILD_VERSION__ := '35'
FUNCTION GetBuildVersion() AS STRING PASCAL
    RETURN strMajorVersion + "." + strMinorVersion + "." + 
strRevisionVersion + "." + __BUILD_VERSION__
FUNCTION GetBuildDate() AS STRING PASCAL
    RETURN __DATE__    // the string coming back will be in the yyyymmdd 
format
DEFINE strMajorVersion         := '2'
DEFINE strMinorVersion         := '3'
DEFINE strRevisionVersion    := '0'
FormatDate( __DATE__ )



Regards,
Willie

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Compile Date "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-21 12:49 -0700
  Re: Compile Date Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-21 21:57 +0200
    Re: Compile Date "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-21 14:20 -0700
      Re: Compile Date "Willie Moore" <williem@wmconsulting.com> - 2011-06-21 20:49 -0500
      Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 09:50 +0200
        Re: Compile Date - buildversion.zip (0/1) "Willie Moore" <williem@wmconsulting.com> - 2011-06-22 07:47 -0500
          Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 18:21 +0200
          Re: Compile Date - buildversion.zip (0/1) "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-22 10:32 -0700
            Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 21:13 +0200
            Re: Compile Date - buildversion.zip (0/1) "Willie Moore" <williem@wmconsulting.com> - 2011-06-23 08:47 -0500
    Re: Compile Date "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-06-22 11:08 +1000
      Re: Compile Date Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 09:45 +0200
  Re: Compile Date John Martens <adsl672100@tiscali.nl> - 2011-06-21 23:30 +0200

csiph-web