Group: comp.lang.fortran · Group Profile · Search for Atart in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Feb 13, 2007 07:12
David Flower wrote: (snip) If you have an INTEGER type known to be exactly one byte long, the following trick, legal also in F77, should work. Variables atarting with I are assumed 1-byte long, those starting with R the type under investigation: REAL etc. R(2) INTEGER etc. I(quite a few) DATA I / 1, 2, 3 etc./ EQUIVALENCE ( R(1), I(1), I1 ) ...
|