Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!caesar.cs.montana.edu!milton!charlie From: charlie@milton.acs.washington.edu (Charles Geyer) Newsgroups: news.groups Subject: Re: Comp.lang.cobol failed Message-ID: <1372@milton.acs.washington.edu> Date: 13 Jan 90 04:01:31 GMT References: <604@enea.se> <1810005@hpcll17.HP.COM> Reply-To: charlie@milton.acs.washington.edu (Charles Geyer) Organization: University of Washington, Seattle Lines: 25 In article <1810005@hpcll17.HP.COM> juliar@hpcll17.HP.COM (Julia Rodriguez) writes: > Here is the source for "hello world" using 1985 standard COBOL. > > identification division. > program-id. hi-mom. > procedure division. > display "hi mom". > > Not so bad. What? Ugh! What trash!! It should look simple, pure, and clean, like this #include main() { if ( printf("Hello world.\n") == EOF ) { exit(1); } else { exit(0); } }