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

Home » Public Forums » archive » crazy loops
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
crazy loops [message #29363] Wed, 13 February 2002 04:49
M Carmen Gonzalez is currently offline  M Carmen Gonzalez
Messages: 3
Registered: November 2000
Junior Member
Hello,

I have a question related with loops......can someone teel me why

if i do a loop that goes to a maximum of 0.6:
for r=0.0, 0.6, 0.1 do begin & print, r & endfor

I get:
0.000000
0.100000
[........]
0.500000
0.600000

and if now i change the maximum value of the range to 0.7:
for r=0.0, 0.7, 0.1 do begin & print, r & endfor

I get:
0.000000
0.100000
[........]
0.500000
0.600000

EXACTLY THE SAME!!!

I have IDL Version 5.4

Thanks :) !
M Carmen
[Message index]
 
Read Message
Previous Topic: Object method compiling
Next Topic: latiude/ longitude legend outside the map

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

Current Time: Sat Oct 11 10:15:32 PDT 2025

Total time taken to generate the page: 0.24061 seconds