Path: utzoo!mnetor!uunet!wucs1!plus5!hokey From: hokey@plus5.UUCP (Hokey) Newsgroups: comp.std.mumps Subject: Implicit DO extension Message-ID: <2377@plus5.UUCP> Date: 25 Mar 88 02:57:46 GMT Organization: Plus Five Computer Services, St. Louis Lines: 57 Approved: hokey@Plus5.Com Volume-Issue: X11/1988.04/comp.std.mumps/2 Title: Implicit DO extension Advocate: Hokey History: 20 Mar 88 - Submitted Abstract: A simple extension to the implicit DO command is presented. This extension allows invocation of an implicit subroutine with the same ease as that of an explicit subroutine, including post-conditionalization. It is easily extensible to allow for both parameter passing and implicit extrinsic function access. Proposal: (Page and section numbers are from X11/SC1/88-14) Amend 3.6.3 as follows: Replace: | [ SP ] | D[O] postcond | SP L doargument | with: | | $$ postcond | | Note: Implicit DO D[O] postcond | | [ SP ] | | Note: Implicit DO | SP L doargument | Note: Explicit DO Replace first three words of first paragraph: An argumentless DO ... with: An implicit DO ... Delete the second sentence: If postcond is present and false, the execution if the command is complete. Note that this sentence was incorrect regardless. Replace last three words of first paragraph: ... the argumentless DO. with: ... the implicit DO. Replace the first three words of the second paragraph: DO with arguments... with: An explicit DO ... -- Hokey