[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnubol: an IBM Interpretation



Bill and Randall,

A few weeks ago, Bob Rayhawk cited this passage from an on-line IBM
manual.  

http://www.s390.ibm.com/bookmgr-cgi/bookmgr.cmd/BOOKS/IGYLR201/6%2e1%2e7%2e5?S

  Bob> "6.1.7.5 Implicit Scope Terminators

  Bob> "At the end of any sentence, an IMPLICIT SCOPE TERMINATOR is a
  Bob> separator period that terminates the scope of all previous
  Bob> statements not yet terminated.

  Bob> "An unterminated conditional statement cannot be contained by
  Bob> another statement. However, a scope terminator will be assumed
  Bob> just prior to the next phrase of the containing statement.

  Bob> "Note: Except for nesting conditional statements within IF
  Bob> statements, nested statements must be imperative statements,
  Bob> and must follow the rules for imperative statements. You
  Bob> should not nest conditional statements. "

Take a look at the middle paragraph.  Bob and I disagreed about what
it meant, but it seems to mean something.  What's your take?



--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.