Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!uhccux!maile!metcalf From: metcalf@maile.ifa.hawaii.edu (Tom Metcalf) Newsgroups: comp.lang.idl-pvwave Subject: Re: Wave under OpenWindows Summary: Structure Names Message-ID: <12799@uhccux.uhcc.Hawaii.Edu> Date: 2 May 91 20:38:27 GMT References: <11238@ncar.ucar.edu> Sender: news@uhccux.uhcc.Hawaii.Edu Organization: Institute For Astronomy, Hawaii Lines: 14 Is there a way in IDL to determine whether a given structure name has been defined? Every test I have tried results in the error "Structure type not defined" when the structure does not exist (eg "print,size({SNAME})") which then terminates the program. What I need is a test which can be used in a program which indicates whether the structure is defined but does not generate (or at least does not print) the "Structure Is Undefined" error. BTW, by "structure name" I don't mean the name of a variable which contains a structure but the name used in the structure definition. All suggestions would be greatly appreciated! Tom Metcalf metcalf@uhifa.ifa.hawaii.edu