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

Home » Public Forums » archive » for loop with floating point index variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
for loop with floating point index variable [message #82346] Mon, 03 December 2012 12:42
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
Hi guys,

can someone explain this?

IDL> print, !version
{ x86_64 linux unix linux 8.2.1 Aug 20 2012 64 64}
IDL> for i=1.0,3.5 do print, i
1.00000
2.00000
3.00000
4.00000

IDL 7.0 is better:

IDL> print, !version
{ x86_64 linux unix linux 7.0 Oct 25 2007 64 64}
IDL> for i=1.0,3.5 do print, i
1.00000
2.00000
3.00000

regards,
Lajos
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: fast svdc for Singular Value Decomposition?
Next Topic: Re: for loop with floating point index variable

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

Current Time: Wed Oct 08 13:45:42 PDT 2025

Total time taken to generate the page: 0.00481 seconds