Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!caip!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: Re: Pascal vs C, again (was: Pascals Origins) Message-ID: <2513@brl-smoke.ARPA> Date: Wed, 23-Jul-86 15:47:10 EDT Article-I.D.: brl-smok.2513 Posted: Wed Jul 23 15:47:10 1986 Date-Received: Thu, 24-Jul-86 03:46:04 EDT Sender: news@brl-smoke.ARPA Lines: 45 In article <3142@utcsri.UUCP> greg@utcsri.UUCP (Gregory Smith) writes: >As for the lack of break, it's a fact of life that loops do not always >exit at the same point in the cycle as they start. Pascal ignores this. Over the last ten years I have implemented several (interpretive) languages with the extended repeat syntax: repeat (block 1) until condition (block 2) endrep Struc$ rears it's ugly head again. Perhaps, Ben, you would like to explain the true significance of the form: repeat [while Condition_1] while (Condition_1) { Block_1 {Block_1} [until Condition_2] if (Condition_2) Block_2 {Block_2; goto YOW;} [otherwise] else Block_3 {Block_3} [atend] } Block_4 {Block_4} endrep YOW: Oh, I just did. Dr. Pat Haggerty (Chief of Tong, not the referee) implemented this in Univac 1108 Assembley language (pre MASM). This was before those young whippersnappers like Chris Torek came along and I could look out my dorm window right thru his present office and see trees, cows, and pigs. (Slowly the attack of (machinus) envy and nostalgia subsides :-). umd5.UUCP <= {seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben Ben Cranston zben @ umd2.UMD.EDU Kingdom of Merryland Sperrows 1100/92 umd2.BITNET "via HASP with RSCS" (Root Boy) Jim Cottrell On the road, ZIPPY is a pinhead without a purpose, but never without a POINT.