Path: 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 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.