From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d321b3a6b8bcab2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-17 06:11:42 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!news.oleane.net!oleane!pipex!uunet!newsgate.watson.ibm.com!watnews.watson.ibm.com!ncohen From: ncohen@watson.ibm.com (Norman H. Cohen) Newsgroups: comp.lang.ada Subject: Re: "Subtract C, add Ada" Date: 17 Jan 1995 14:11:42 GMT Organization: IBM T.J. Watson Research Center Distribution: world Message-ID: <3fgj6u$1fn0@watnews1.watson.ibm.com> References: <3f4mbe$rud@cronkite.seas.gwu.edu> Reply-To: ncohen@watson.ibm.com NNTP-Posting-Host: rios8.watson.ibm.com Date: 1995-01-17T14:11:42+00:00 List-Id: Just yesterday I made a one-character typo in a C program (don't ask; it puts food on the table) that preserved the legality of the program but rather radically altered its behavior. I meant to type for (i=0; i<10; i++) but my finger slipped off the shift key when I was typing "<", so it came out for (i=0; i,10; i++) which tests for loop termination by evaluating i, discarding that value, evaluating 10, and leaving the loop when 10 equals zero (i.e., never). What a language! -- Norman H. Cohen ncohen@watson.ibm.com