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

Home » Public Forums » archive » Class inheritance with CREATE_STRUCT?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Class inheritance with CREATE_STRUCT? [message #94557] Wed, 05 July 2017 16:15 Go to previous message
andre.waehlisch is currently offline  andre.waehlisch
Messages: 3
Registered: July 2017
Junior Member
Hello,

I am trying to create a new object class structure which inherits from IDL_Object. I want to use CREATE_STRUCT for this, but it seems like that is not possible. Am I stuck with the curly bracket struct creation?

My minimal example (this fails with syntax error):

pro teststruct__define
;void={teststruct, a:0, inherits IDL_Object} ; this works
void = CREATE_STRUCT(NAME='teststruct', 'a', 0, inherits IDL_Object) ; syntax error
end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: syntax error with hash
Next Topic: Problem creating .png file using Coyote graphics (or maybe problem with cgHasImageMagick?)

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

Current Time: Wed Oct 08 09:18:43 PDT 2025

Total time taken to generate the page: 0.00414 seconds