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

Home » Public Forums » archive » Saving / Restoring Objects
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
Saving / Restoring Objects [message #35043] Fri, 09 May 2003 02:59
mfeldt is currently offline  mfeldt
Messages: 4
Registered: October 2002
Junior Member
Hi,

trying myself and surfing the web I find a lot of remarks how useful
it is to save and restore idl objects. However, for me it doesn't
seem to work - am I doing something wrong here? Basically what I do is
this:

IDL> a=obj_new('fancy_object')
% Compiled module: FANCY_OBJECT__DEFINE.
;;
;; this compiled my object with lots of functions etc..
;;
IDL> a-> set,'Debug',1 ; internal variable access...
;;
;; many more of those may go here
;;
;; then:
IDL> save,a,file='test.sav'

IDL> exit

;; now a new session

IDL> restore, file='test.sav'
IDL> help,a,/obj
** Object class FANCY_OBJECT, 0 direct superclasses, 0 known methods

;; i.e. the object seems to be there, but all information on it and
all methods are lost... I also tried compiling the related code first,
but no use...

Is there any way to make this work??

Thanks

M.

--
Markus Feldt Voice: +49 6221 528 262
Max-Planck-Institut Fax: +49 6221 528 246
fA�r Astronomie mailto:mfeldt@mpia.de
KA�nigstuhl 17 http://www.mfeldt.de
D-69117 Heidelberg, Germany Si, !asi es la vida!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: .Xdefaults in Gnome on Linux
Next Topic: Unsupported X Windows visual

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

Current Time: Wed Oct 08 17:58:30 PDT 2025

Total time taken to generate the page: 0.00388 seconds