Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site burl.UUCP Path: utzoo!watmath!clyde!burl!rcj From: rcj@burl.UUCP (R. Curtis Jackson) Newsgroups: net.unix-wizards,net.bugs.usg,net.lang.f77 Subject: weird f77 bug solved.... Message-ID: <459@burl.UUCP> Date: Fri, 4-May-84 15:31:29 EDT Article-I.D.: burl.459 Posted: Fri May 4 15:31:29 1984 Date-Received: Sat, 5-May-84 02:20:56 EDT Organization: AT&T Technologies; Burlington, NC Lines: 19 Earlier today, I posted a 'bug' in f77, here is the gist: do 100 d = ..... /* this worked fine */ do 100 d2 = ..... /* this generated a syntax error */ The reason for this is the f77 extension which allows a double precision exponent, which is a multiplier base 10. In other words, '1d2' equates to '100' (1 * 10^2). f77, on the statement above, was squeezing out the space between the '100' and the 'd2' and parsing it as a double precision constant '100d2'; thus the syntax error. Thanks to mhuxj!presley for a quick and accurate answer to this problem, -- The MAD Programmer -- 919-228-3313 (Cornet 291) alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd we13 ]!burl!rcj ...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj