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

Home » Public Forums » archive » Re: histogram and UINT
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: histogram and UINT [message #70125 is a reply to message #70124] Wed, 17 March 2010 16:58 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <hnrj7g$hqh$1@speranza.aioe.org>,
mgalloy <mgalloy@gmail.com> wrote:

> On 3/17/10 12:36 PM, Kenneth P. Bowman wrote:
>> I did notice that with IDL 7.1.1 on Mac OS X, using the U suffix
>> creates a ULONG, not a UINT. This clearly contradicts the documentation.
>>
>> IDL> help, 65U, 65US
>> <Expression> ULONG = 65
>> <Expression> UINT = 65
>>
>> You have to use US to create a UINT.
>>
>> Ken Bowman
>
> That is not what I get:
>
> IDL> help, 65u
> <Expression> UINT = 65
>
> Do you have "compile_opt defint32" in a startup file?
>
> Mike

Hmm.

This part of the docs

IDL Programmer's Guides - Defining and Using Constants - Integer Constants

implies that U and US are identical.

OTOH, the table in the DEFINT section implies that the constant 42U does not
include a type specifier.

Huh?

There may be a good reason for this syntactical subtlety (aka "a really
obscure feature"), but ITTVIS REALLY needs to make this clearer in the docs.

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: histogram and UINT
Next Topic: Re: Hidden Markov Model using IDL

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

Current Time: Fri Oct 10 16:34:02 PDT 2025

Total time taken to generate the page: 1.76328 seconds