Re: 4GL Static variable initialization for SCCS 'what' command
Posted in 1994
In article <38470r$j24@news.acns.nwu.edu> ** none ** writes: > When we develop C or ESQL/C programs, we can include a static > variable initialized to the appropriate SCCS codes for storing > revision information in our executables (accessible with the > UNIX 'what' command). > > Can anyone tell me how to accomplish the equivalent in 4gl? > I cannot see any way to initialize statics prior to program > execution in 4gl. > You can have a comment line to store the information to be retrieved by the what command : # @(#) Module %M% Version %I% If you want to have a variable to be initialized you will have to have some sort of initialization function which would be called from the main section: function init_modname() let version="%I%" end function -- Mike Aubury