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

Home » Public Forums » archive » foor loop
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
foor loop [message #89211] Tue, 05 August 2014 00:04 Go to next message
SUNIL CHOUDHURY is currently offline  SUNIL CHOUDHURY
Messages: 11
Registered: June 2014
Junior Member
hi,
i am defining a for loop and inside the loop some variable after the end of the for loop the variable are getting undefined.
i want to access the variable.
kindly assist me.


regards
sunil
Re: foor loop [message #89212 is a reply to message #89211] Tue, 05 August 2014 00:48 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi,

On 05.08.2014 09:04, SUNIL CHOUDHURY wrote:
> after the end of the for loop the variable are getting undefined

Something strange must happen in "your IDL", because "my IDL" doesn't do
this:

IDL> for i=0, 3 do a = i
IDL> print, a
3

Maybe you have a concrete example of code reproducing your problem?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: symbol_means doesn't work in the function of BOXPLOT
Next Topic: cgLegend thickness

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

Current Time: Wed Oct 08 11:44:53 PDT 2025

Total time taken to generate the page: 0.00522 seconds