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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e5eb8ca5dcea2827 X-Google-Attributes: gid103376,public From: David Botton Subject: Re: Ada OO Mechanism Date: 1999/05/20 Message-ID: <37446C4C.C76EB186@Botton.com>#1/1 X-Deja-AN: 480249206 Content-Transfer-Encoding: 7bit References: <7i05aq$rgl$1@news.orbitworld.net> <7i17gj$1u1k@news2.newsguy.com> <37444257.5933869F@Botton.com> <7i1kqj$2o6r@news1.newsguy.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 927231048 18526 199.227.35.85 (20 May 1999 20:10:48 GMT) Organization: CyberGate, Inc. Mime-Version: 1.0 NNTP-Posting-Date: 20 May 1999 20:10:48 GMT Newsgroups: comp.lang.ada Date: 1999-05-20T20:10:48+00:00 List-Id: > I hope you'll > agree that it would not be good C/C++ coding style to, for instance, use > preprocessor macros to turn "BEGIN" and "END" into "{" and "}" so your > C/C++ code would look more like Ada. Actually I should give it a try. I should add a // after the "{" and "}" so I can do ( and of course define procedure as void, print_line as printf, and new_line as printf("\n") ): procedure main() begin -- main put("Hello World"); new_line; end main; Much better now :-) David Botton