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

Home » Public Forums » archive » Re: Need prog to give size of a structure in bytes
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: Need prog to give size of a structure in bytes [message #13578] Thu, 26 November 1998 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Joe Means wrote:

> I need prog to give size of a structure in bytes, and I don't find one in the
> IDL 5.1 distribution. Has anyone else written one?
> Joe Means
> --
>

Dear Jooe

I will describe the way to do it:

help, structure,/str ,output=o
print,o[0]
** Structure <1843940>, 123 tags, length=55400, refs=1:
print,(str_sep((str_sep(o[0],'<'))[1],'>'))[0]
1843940


The keyword output was added by version 5.1 I believe.

regards
R.Bauer







>
> From:
> Joseph E. Means, Assistant Professor Forest Science Department
> Internet: Means@fsl.orst.edu Oregon State University
> Phone 541-750-7351 Fax 541-750-7329 Corvallis, OR 97331 U.S.A.
> http://www.fsl.orst.edu/rogues/meansj/meansnew.htm
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 5.2 available for FTP
Next Topic: Re: INSIGHT 3D Visualization ?

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

Current Time: Fri Oct 10 05:51:25 PDT 2025

Total time taken to generate the page: 0.40403 seconds