Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!husc6!cmcl2!brl-adm!adm!edstrom%UNCAEDU.BITNET@wiscvm.wisc.EDU From: edstrom%UNCAEDU.BITNET@wiscvm.wisc.EDU Newsgroups: comp.lang.c Subject: RE: portability and standards Message-ID: <8113@brl-adm.ARPA> Date: Tue, 30-Jun-87 14:17:55 EDT Article-I.D.: brl-adm.8113 Posted: Tue Jun 30 14:17:55 1987 Date-Received: Wed, 1-Jul-87 05:43:46 EDT Sender: news@brl-adm.ARPA Lines: 14 About initialized globals in header files: I don't understand the need for macros in defining and initializing global variables. Maybe I am missing the point but what I do for header files with variables shared by many .c modules is: headerfile.h extern double example; double example = 33.3; I use this on VAX VMS and it works fine. Is ther some reason why this approach is not "safe" or "proper"?