| delorie.com/archives/browse.cgi | search |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |