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

Home » Public Forums » archive » write_png 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: write_png help [message #93936 is a reply to message #93934] Thu, 01 December 2016 08:36 Go to previous message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 12/01/2016 12:24 PM, David Grier wrote:
> for i = 0, s[0]-1 do begin
>
> The loop will increase the variable i from 0 to s[0]-1, without doing anything else.
> Once that's done, the script will execute the next line (write_png ...) and write one
> image for the particular case, i = s[0]-1, which is the value of i at the end of the loop.
actually, at the end of the last loop i is incremented once more:
IDL> for i=0,9 do begin
IDL> print, i
10
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Transpose of string along with float variable??
Next Topic: MosaicRaster results in "Unable to Export"

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

Current Time: Fri Oct 10 09:00:11 PDT 2025

Total time taken to generate the page: 1.43861 seconds