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

Home » Public Forums » archive » Re: defining a data structure
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: defining a data structure [message #54464 is a reply to message #54463] Thu, 14 June 2007 09:29 Go to previous messageGo to previous message
Ingo von Borstel is currently offline  Ingo von Borstel
Messages: 54
Registered: September 2006
Member
Hi,
>
> my_struct__define.pro
>
> ...and inside that file at least these:
>
> function my_struct::init
>
> self.number = 14
> self.array = indgen(3) * 2
>
> return, 1
> end
>
> pro my_struct__define
> struct_define = { $
> my_struct, $
> number:0, $
> array:intarr(3) $
> }
> end

Thanks, that's what I've been missing.
Blind as I am from time to time, I have been unable to deduce this from
or find it in the manuals.

Best regards,
Ingo


--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc

If you need an urgent reply, replace newsgroups by vgap.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dealing with Large data arrays, reducing memory and ASSOC
Next Topic: Re: large widget_trees

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

Current Time: Sat Oct 11 01:08:10 PDT 2025

Total time taken to generate the page: 1.59768 seconds