hokey@plus5.UUCP (Hokey) (03/25/88)
Title: Implicit DO extension Advocate: Hokey <hokey@plus5.com> 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