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,88e7ef9008757431 X-Google-Attributes: gid103376,public From: sb463ba@d250-hrz.uni-duisburg.de (Georg Bauhaus) Subject: Re: Function Calls by Address Date: 1999/09/08 Message-ID: <7r598s$e2g$1@news-hrz.uni-duisburg.de>#1/1 X-Deja-AN: 522461911 References: <37CADE68.6AF06F5D@escmail.orl.lmco.com> <37CEEFFA.7D73F78D@magic.fr> <7qooh7$hbh$1@nnrp1.deja.com> <37CFFEA6.921CBE59@magic.fr> <7qsrtj$9lp$1@nnrp1.deja.com> <37D2F41D.AE1C85F5@magic.fr> <7qvbhc$t47$1@nnrp1.deja.com> Organization: Gerhard-Mercator-Universitaet - Gesamthochschule Duisburg Newsgroups: comp.lang.ada Date: 1999-09-08T00:00:00+00:00 List-Id: Robert Dewar (robert_dewar@my-deja.com) wrote: By the way, some literate programming systems provide nested "somewhat separate" "procedures" for C programmers (prameterless, though:) int process_balance(...) if (balance < 0) { <> } else { <> } } ... <>= ... ... <>= ... (That's the noweb or CWEB way) -# Georg : Process-Balance. : if Balance is negative : perform Send-Bill : else : perform Record-Credit : end if. : Send-Bill. : ... : Record-Credit. : ... : with a syntax this light for internal refinements, they tend : to be extensively used, one of the features I like best about : COBOL, and indeed COBOL programmers dislike nested if statements : (they are fully implemented Ada style in COBOL), on the grounds : that they are confusing :-) :-) : Sent via Deja.com http://www.deja.com/ : Share what you know. Learn what you don't.