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

Home » Public Forums » archive » Re: Simple overflow error
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: Simple overflow error [message #33775 is a reply to message #33774] Tue, 28 January 2003 15:19 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <162586e3.0301281512.3d87e978@posting.google.com>,
New2IDL <biomedthesis2002@yahoo.com> wrote:
> HI,
> I have a small problem with overflow.
>
> a = 200 * 200
> print, a
>
> I get the answer as a negative no. can anybody please tell me how to fix this.
>
> Thanks


Make at least one of your integers a LONG .

a=200L*200
print, a
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: WHERE - problem
Next Topic: Re: MOUSE (WHEEL) BUTTON NON-STOP SCROLLING IN IDL 5.6

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

Current Time: Sat Oct 11 19:20:55 PDT 2025

Total time taken to generate the page: 1.28142 seconds