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

Home » Public Forums » archive » -32768
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
-32768 [message #88078] Tue, 18 March 2014 21:43 Go to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I'd like to set an integer variable to the value -32768, but this doesn't work...

IDL> a=-32768
IDL> help,a
A LONG = -32768

...it gives a long. This works:

IDL> a=-32767-1
IDL> help,a
A INT = -32768

but it's a strange thing to have to do.

Greg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Killing Widget Objects
Next Topic: How to choose the pixels along a curve in an image

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

Current Time: Wed Oct 08 11:32:19 PDT 2025

Total time taken to generate the page: 0.00460 seconds