www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/06/05:57:44

Date: Wed, 6 Jan 93 11:31:49 GMT
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: djgpp AT sun DOT soe DOT clarkson DOT edu, fine AT main1 DOT jinr DOT dubna DOT su
Subject: Re: f2c format i/o troubles

The present version of f2c allows Hex Constants like z'ff' in data
statements as well Z format in Format statements.

Look at this piece of f2c fortran:
        program hex
        data i/z'ffff'/
        i=i-1
        write(*,'(Z8)')i
        end

Compiled and linked using f2c and gcc form 1.08 works fine for me.

--Chris



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019