[Thread Prev][Thread Next][Index]

[ferret_users] problems when listing integers



Hi,

I've tried to make FERRET list some integer values to a text file
but run into some weird behaviour:

The result of

yes? list /format="(i4.4)" 1

is **** , and not 0001 as expected. However, when I add some digits e.g.

yes? list /format="(i10)" 1

then the result is 1065353216 i.e. absolutely not what I want.

Am I doing anything wrong here? as a workaround one could convert everything to strings, but I wondered if there was a better way...

Cheers, Ingo



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement