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

Home » Public Forums » archive » 4 byte integers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
4 byte integers [message #66823] Fri, 12 June 2009 16:19
Joshua Von Korff is currently offline  Joshua Von Korff
Messages: 1
Registered: June 2009
Junior Member
Is there any way I can set a flag to force IDL to consider all
integers as having 4 bytes? It's happened many times that I assume a
number won't go above 32768, and then months later, it does go above.
This produces an error that can be annoying to track down. So I've
taken to writing 0L, 1L, 2L, lindgen() at all times, but sometimes I
forget. Any thoughts?

It's not even clear to me that IDL is saving any time by restricting
to 2 bytes ... aren't they represented as 4 bytes at some lower level
anyway?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Friday Afternoon Puzzler
Next Topic: Re: Checking version number

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

Current Time: Fri Oct 10 01:56:39 PDT 2025

Total time taken to generate the page: 0.40148 seconds