comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Trouble reading unformatted f77 (unix) integers?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Trouble reading unformatted f77 (unix) integers? [message #4248 is a reply to message #4158] Wed, 10 May 1995 00:00 Go to previous messageGo to previous message
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
In article <3oqmh1$nb6@post.gsfc.nasa.gov>,
thompson@orpheus.nascom.nasa.gov (William Thompson) wrote:

> Your problem is very simple. The default integer data type in FORTRAN takes up
> four bytes (INTEGER*4). In IDL parlance, this is known as a long integer. The
> default IDL integer type is a short integer which only takes up two bytes.

Having run into a number of gotchas with short integers (including this
one), I do wish there was a way to make LONG the default integer type in
IDL.

Ken Bowman

--
Dr. Kenneth P. Bowman 409-862-4060
Associate Professor 409-862-4132 fax
Department of Meteorology bowman@csrp.tamu.edu
Texas A&M University PP-Glider
College Station, TX 77843-3150
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Trouble reading unformatted f77 (unix) integers?
Next Topic: Re: Zeiger in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:11:20 PDT 2025

Total time taken to generate the page: 0.88206 seconds