X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Oct 2005 05:46 PM by  anon
Flag for variable value > variable assignment?
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Oct 2005 05:46 PM
    Hi, I am not sure if my subject has a good title, but anyway.. I declared a variable to be an integer, and incremented after certain tasks. It turned out that the value of the integer exceeded 2^15-1 = 32767 and took on the value of -32768, then -32767,,, etc.. My program continued chugging along without a care in the world. Is there any way to force IDL to tell you that something like this is happening and maybe stop? If not, it would be a very useful addition. Thank you very much. -Rob
    You are not authorized to post a reply.