Re: How to keep version number inside *.frm ?

From: David Bath <dtb_at_otto>
Date: 8 Jan 93 03:29:27 GMT
Message-ID: <dtb.726463767_at_otto>


guy_at_mais.hydro.qc.ca (Guy Harel) writes:

>We are looking for a way to tag SQL*FORMS objects (.frm) with version
>numbers so we can keep track of our many distributions.
 

>We know that with C, on merely as to define:
>
> char sccs_id = "_at_(#) Version 1.0"
 

>...and than use 'what' on the compiled unit to extract the above info.

>I just found out that we can also do the following in a '*.inp'
 

> TITLE = "_at_(#) Version 1.0"
 

>...generate and then use 'what' on the '*.frm' to extract the info.
 

>Is there another or better way to acheive that?
 

>P.S: We are planning to use PVCS as a source code manager, and hope the
>version number could be automaticaly maintained, even in our '*.inp'.
 

>Thanks for any info.

>--
> Guy Harel

I use RCS, and it is dead easy. It also has UNIX and DOS ports. All you need do is have a variable that is assigned a value when the form starts up that has the identifier you choose.

David T. Bath Email:dtb_at_otto.bf.rmit.oz.au Phone:03-3477511 Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA "Failure to emulate is the best revenge" - Marcus Aurelius

-- 
David T. Bath	Email:dtb_at_otto.bf.rmit.oz.au	Phone:03-3477511
Global Technology Corporation, 179 Grattan St, CARLTON, VIC, 3153, AUSTRALIA
"Failure to emulate is the best revenge" - Marcus Aurelius
Received on Fri Jan 08 1993 - 04:29:27 CET

Original text of this message