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

Home » Public Forums » archive » Re: very simple Index question~~~help~~~
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: very simple Index question~~~help~~~ [message #62543 is a reply to message #62542] Mon, 15 September 2008 20:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
xiao writes:

> I think it is over floating.......How can I solve this?

Try making your loop counter a LONG integer:

FOR j=0L, n DO ...

Or, even better, make *all* your integers LONG integers:

COMPILE_OPT defint32

Here is an article you probably ought to read:

http://www.dfanning.com/code_tips/mostcommon.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL is giving me a syntax error out of nowhere
Next Topic: Exporting iPlot graphics to EPS files in vector format?

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

Current Time: Sat Oct 11 01:34:09 PDT 2025

Total time taken to generate the page: 1.36006 seconds