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

Home » Public Forums » archive » Re: Arrays in structures; workarounds?
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: Arrays in structures; workarounds? [message #19961 is a reply to message #19958] Thu, 04 May 2000 00:00 Go to previous messageGo to previous message
Ed Santiago is currently offline  Ed Santiago
Messages: 8
Registered: January 2000
Junior Member
> Here was one trick I found to determine the size of a structure tag,
>if it has *at least* two elements.

Cool. Weird... but cool. Thanks; I've added it to my bag of
tricks (which already contains a heckuva lot of craigm code & ideas).

>A comment on your procedure. I believe that you are treating the
>output of HELP too simply. When tag names are long enough, help will
>wrap the type description to the next line. Consider this:

Guilty as charged. I briefly considered cleaning up the code so it
handles that case, but decided it wasn't worth the time investment.
The esmsize() function serves in a controlled environment where I
know the _name_ of the structure element I want ("DATA"), but not
the dimensions (incredibly complex -- but flexible! -- telemetry
mode sets for an instrument on Deep Space One).

So in the usual "write-code-when-I-need-it" manner, I left the
multi-line HELP handling as an exercise for the reader... and
never thought anyone else but me would even care.


Wishing I had the time to hack PDL to where it suits my needs,
^E
--
Eduardo Santiago Software Type esm@lanl.gov RKBA!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Secrets FFTs revealed!!
Next Topic: Re: DXF output/printer device in IDL?

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

Current Time: Sat Oct 11 00:52:44 PDT 2025

Total time taken to generate the page: 0.38148 seconds