Structured design, goto's, and the holy grail
Daniel R. Levy
levy at ttrdc.UUCP
Wed Feb 3 13:26:14 AEST 1988
In article <607 at cresswell.quintus.UUCP>, ok at 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 @ | <most AT&T machines>}!ttrdc!ttrda!levy
| AT&T Computer Systems Division | Disclaimer? Huh? What disclaimer???
|--------Skokie, Illinois--------|
More information about the Comp.lang.c
mailing list