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

Home » Public Forums » archive » Re: loop limit ???
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: loop limit ??? [message #53582 is a reply to message #53580] Wed, 18 April 2007 14:45 Go to previous messageGo to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On Apr 18, 4:54 pm, kostis <kostis...@gmail.com> wrote:
> i wouldnt expect that IDL has a limit for loops !!
> trying a loop of 50.000 steps i got the message:
>
> % Compiled module: TRAJECTORY.
> % Loop limit expression too large for loop variable type.
> <LONG ( 49999)>.
> % Execution halted at: TRAJECTORY 16 /home/kostis/PROJECT
> LARMOR/dipole/trajectory.pro
> % $MAIN$
>
> Why is this?
> This means i cant have bigger loops... or is there a trick??
>
> Thanx...

Or you could get into the habit of typing

Compile_Opt IDL2

at the beginning of our programs and never worry about it again.
('downside' is you are forced to use [] for arrays and () only for
functions)

Gianguido
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with the F-test. mpftest.pro in particular.
Next Topic: Re: Annoying ROIs

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

Current Time: Sun Oct 12 02:25:17 PDT 2025

Total time taken to generate the page: 0.80152 seconds