<No Subject Supplied>
Posted in 1993
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Data Types & Schema Design
>In article <CCA3AF.FGM@waterloo.hp.com> flint@fc.hp.com (Andrew Flint) writes: >> >> let rcsid = "$Header: revision information Exp $" >> >> Anyone have and other ways to do this? >We use SCCS, but we have the same problem. We use something like > let ivar = length ( "%Z% %M% %I% %G% %U%" ) >towards the front of each I4GL program. >This has the advantage of not requiring you to figure out how long the >expanded string will be before-hand or define a wastefully large char >variable. >This method has the drawback of putting a useless executable statement >in the module. Having one at the front of a large program isn't that >bad. Having such a statement in a function that is called many times is >unacceptable, so we don't do it in library functions and other stand-alone >routines that will be called frequently. >The scheme is not perfect, but suits our needs. I'd also like to hear >about other solutions. >Walt. We use sccs as well but handle it with a varchar variable: define sccsid varchar(80) let sccsid = "%U% %G% %W%" Carlton ============================================================================ Carlton Doe Spectrum Field Services v (801) 461-8241 f (801) 461-8222 AT&T Mail: attmail!alexis!carlton Internet: cdoe@sunset.utah.edu OR att!attmail!alexis!carlton@uunet.UU.NET