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

Home » Public Forums » archive » Re: Object definition
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: Object definition [message #20541 is a reply to message #20536] Fri, 07 July 2000 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
Pavel Romashkin wrote:

> When I define an object (user-defined), there, of course, is a named
> structure named, lets say, "temp". So I can call "help, {temp}" to see
> what the fields are. Then, I reset IDL or even quit it. Then, start it
> again and type "help, {temp}" again - the information is printed out
> about the last state of the structure! Strange.
> I use 5.3 on a Mac.
> Thanks for any input.
> Pavel

Hello,

It is expected (at least I expect) the named structure to be retained
from session to session. When I start-up a new session,
I can do as you describe, HELP, {temp}, /Str and get output of all of the
fields. The pointers are all null-pointers and the
other fields are as I defined them in the Temp__Define procedure.

I think you are describing a different behavior and I'm not clear on what
the behavior is. As an example, it sounds like you might have defined a
string field in the temp__DEFINE procedure as Temp.Name = ''. Later
you did something like oTemp->SetProperty, Name = 'PAVEL'. Then you
quit (or reset). Doing the Help, {Temp},Str shows Temp.Name =
'PAVEL'. Am I getting that right?

Ben


--
Ben Tupper

Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org

pemaquidriver@tidewater.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Lat/lon to UTM coords
Next Topic: Re: Object Graphics Selection

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

Current Time: Fri Oct 10 05:44:41 PDT 2025

Total time taken to generate the page: 0.35977 seconds