Path: utzoo!mnetor!uunet!husc6!rutgers!mcnc!decvax!ucbvax!cbosgd!ihnp4!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: comp.lang.c Subject: Re: Structured design, goto's, and the holy grail Message-ID: <2149@ttrdc.UUCP> Date: 3 Feb 88 03:26:14 GMT References: <11528@brl-adm.ARPA> <23777@cca.CCA.COM> <607@cresswell.quintus.UUCP> Sender: netnews@ttrdc.UUCP Organization: AT&T, Skokie, IL Lines: 15 In article <607@cresswell.quintus.UUCP>, ok@quintus.UUCP (Richard A. O'Keefe) writes: > In any programming language you have to use the tools you've got. > C's modularity is better than Fortran's (two routines can share a > variable without having to making available to the whole world), but > that isn't saying much. FORTRASH can achieve a similar effect by having the two routines concatenated, one of them being an ENTRY, with the "shared data" local to the combined routine, using SAVE to preserve it between calls. This is ugly but it sure works. -- |------------Dan Levy------------| Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, | an Engihacker @ | }!ttrdc!ttrda!levy | AT&T Computer Systems Division | Disclaimer? Huh? What disclaimer??? |--------Skokie, Illinois--------|