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

Home » Public Forums » archive » How to see if variable is defined?
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: How to see if variable is defined? [message #3450 is a reply to message #3359] Mon, 23 January 1995 07:47 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
rfinch@water.ca.gov (Ralph Finch) writes:

> Is there a nice way of checking if a variable is defined?

> I have a widget_control command which removes a menu, and I need to
> see if the menu is defined before destroying it.

You can always use

IF N_ELEMENTS(variable) NE 0 THEN ...

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: autostart Wave license, Solaris 2.4
Next Topic: "True" map projections

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

Current Time: Wed Oct 08 19:36:10 PDT 2025

Total time taken to generate the page: 0.00468 seconds