Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: initializing Message-ID: <7093@brl-smoke.ARPA> Date: 15 Jan 88 13:49:44 GMT References: <11276@brl-adm.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <11276@brl-adm.ARPA> PEPRBV%CFAAMP.BITNET@husc6.harvard.EDU (Bob Babcock) writes: >If I want to initialize a global variable in an include file, ... >But this doesn't work for an array ... >Is there some trick I'm missing? Yes, the trick of not trying to be so bloody clever. Supply static initializers in some place that makes sense, for example in the source code for the module that owns the data.