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

Home » Public Forums » archive » Re: resetting structs
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: resetting structs [message #12258 is a reply to message #12250] Fri, 24 July 1998 00:00 Go to previous messageGo to previous message
don shad is currently offline  don shad
Messages: 7
Registered: July 1998
Junior Member
Thanks for you reply. Unfortunately it is not what I was hoping
to hear.

If a structure cannot be redeclared, does this mean that I have
to leave the IDLDE every time I want to make a change to any of
my classes? In my mind, that seriously reduces the usability of
the development environment. Is it possible to reset the DE
and have it forget my classes?



thanks again,

don


Phillip & Suzanne David <pdavid.nospam@earthling.net> wrote:
> Don;


> Once a NAMED structure has been defined, it cannot be redeclared differently.
> Thus, you would have to create an anonymous structure. If you are trying to
> do this in an object, that won't work. The values of the data can change from
> one instance of the structure to another, but the names and types of variables
> in the structure can't. At the IDL command line, try the following:

> struct = {data:0}
> struct = {mydata:0}

> This will neither cause errors nor get ignored, but your structure will be anonymous.

> Phillip David

>> how does one re-declare a struct in the IDLDE? if i
>> create

>> struct = {junk, data:0}

>> but later decide that i want to do

>> struct = { junk, mydata:0 }

>> i either get an error (if in the ide commandline), or
>> if i do this in a "junk__define.pro" and use a ".compile
>> junk__define.pro", i get no change in my structure.
>> this has caused no end of pain for me.

--
-------------------------------------------------------
Brought to you sloooooooowly by Frontier Communications,
the Intermittent Service Provider.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cut, copy and paste
Next Topic: Re: Need help reseting widget buttons

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

Current Time: Sat Nov 29 20:43:19 PST 2025

Total time taken to generate the page: 0.56321 seconds