Curt Brimacomb writes
I just had a very bizarre Cobol error.
I was redoing paragraph names in the source code. I accidentally lost a
space after the word "perform" on one line and ended up with something like
this:
perform1020-put-record.
perform 1220-lock-next-set.
move "update" to status.
1000-next-para.
the program complied with no errors, but would not run right. I added the
one space back into the "bad" perform line. It still compiled with no
errors, but now does run correctly.
Why did it compile with the missing space?
-------------------------------------------
Because perform1020-put-record. is a perfectly valid paragraph name.
Paragraph names do not have to start in the "A" area (cols 8-12). That is
only a legibility convention.
Mike Berkowitz
Guess? Inc.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *