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,2d56530d3025e324 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Program error from assignment?? Date: 1998/07/23 Message-ID: <6p7sg8$66r$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 374126104 References: <6p3070$bvn$1@nnrp1.dejanews.com> <6p4skk$j73$1@nnrp1.dejanews.com> <6p556m$e4o$1@platane.wanadoo.fr> <6p5j23$ip7$1@nnrp1.dejanews.com> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jul 23 17:39:19 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT; Gateway2000) Date: 1998-07-23T00:00:00+00:00 List-Id: In article , dewar@merv.cs.nyu.edu (Robert Dewar) wrote: > Actually, I have seen more than one example of recursive main programs > in Ada. There is nothing to prevent it, and it is perfectly reasona ble > to structure a program this way if it makes sense. Well, that last part of the last sentence is a bit of a tautology, so its tough to disagree. The part I was having trouble with was thinking of a situation where it would make sense. I can even perhaps see making the main procedure recursive as you suggest. But having a task started up by the main procedure call the main procedure itself?? %-( Hmmm. Thinking about it, that would be sort of a poor-man's "fork()"...perhaps I'm getting sick too. :-) T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum