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

Home » Public Forums » archive » How to check the variables by myself ?
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
How to check the variables by myself ? [message #87651] Thu, 20 February 2014 16:00 Go to next message
huiqiang.liu.37 is currently offline  huiqiang.liu.37
Messages: 19
Registered: April 2013
Junior Member
Hi, everyone,

programming with IDL , but i can not check the values of my variables defined by myself in the variables list , which always display 'undefined'. why and how?

Thanks.
Bruce Liu
Re: How to check the variables by myself ? [message #87655 is a reply to message #87651] Thu, 20 February 2014 20:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Huiqiang Liu writes:

> programming with IDL , but i can not check the values of my variables defined by myself in the variables list , which always display 'undefined'. why and how?

You probably defined them in some program level that is different from
the one in which you are trying to view them. Variables have "scope" and
only appear in the level (program depth) in which they are defined.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: animated gif speed
Next Topic: Re: MPFIT2DFUN- use for a time series of images?

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

Current Time: Wed Oct 08 15:49:54 PDT 2025

Total time taken to generate the page: 0.00388 seconds