Article View: comp.lang.misc
Article #6855Re: Hyphen as identifier characters
From: Mark Harrison
Date: Wed, 28 Feb 1990 14:07
Date: Wed, 28 Feb 1990 14:07
12 lines
872 bytes
872 bytes
In article <810@enea.se>, sommar@enea.se (Erland Sommarskog) writes:
> Incidently, if I'm not totally confused, the comment
> subtract foo-bar from n
> is perfectly correct Cobol, including the hyphen.
as is
compute n = n - foo-bar.
or
compute n = n + -foo-bar.
Cobol requires spaces around arithmetic operators.
Technical Details
Message-ID:
<231@necssd.NEC.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bu.edu!mirror!necntc!necssd!harrisonReferences:
<48a55876.12c9a@digital.sps.mot.com> <776@enea.se> <448@fwi.uva.nl> <810@enea.se>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bu.edu!mirror!necntc!necssd!harrison From: harrison@necssd.NEC.COM (Mark Harrison) Newsgroups: comp.lang.misc Subject: Re: Hyphen as identifier characters Summary: hyphens are legal in COBOL ids Message-ID: <231@necssd.NEC.COM> Date: 28 Feb 90 14:07:30 GMT References: <48a55876.12c9a@digital.sps.mot.com> <776@enea.se> <448@fwi.uva.nl> <810@enea.se> Organization: NEC America Inc. SSD, Irving, TX Lines: 12