if exists(<object name>):
rather than accessing the object using
try:
object.foo
except NameError: (or whatever it is)
Thanks again,
don't you just love Newbies
Adrian
-- --------------------- ======================================================================== = = = Adrian Phillips at The Norwegian Meteorological Institute = = = = BUT any thoughts in this are purely my own and have nothing to do with = = this establishment, thankfully. = = = = Internet: daap@typhoon.oslo.dnmi.no = = Phone: 47 22 96 32 09 = = Fax: 47 22 96 30 50 = = = ========================================================================