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

Home » Public Forums » archive » Re: Fun Writing Books
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: Fun Writing Books [message #46739 is a reply to message #46738] Sun, 11 December 2005 00:07 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:

> Folks,
>
> You know what's fun about writing books? You have so
> many opportunities to embarrass yourself. :-)
>
> When did this get fixed?
>
> IDL> a = {Name:'Larry', Age:46}
> IDL> b = {Name:'JoeBob', Age:39}
> IDL> c = [a, b]
>
> That, my friends, is *suppose* to generate an error.
>
> http://www.dfanning.com/tips/concatenate_structs.html
>
> Now, I've got to check every single piece of code I ever wrote
> to be sure I'm not missing something else. :-(
>
> Cheers,
>
> David
>

Hi David,

I believe this wasn't restricted. Both are anonymous structures not named!

There was a restriction with named structures and I think you like to talk
about this one. A rule change and when will we get this fixed ....

IDL> a=make_array(5,2,1)
IDL> help,a,reform(a,5,2,1)
A FLOAT = Array[5, 2]
<Expression> FLOAT = Array[5, 2, 1]


IDL> a=ptr_new(reform(a,5,2,1))
IDL> help,*a
<PtrHeapVar2> FLOAT = Array[5, 2, 1]


I like to see the reform output always


cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Polygon Clipping Algo in IDL
Next Topic: Re: Recursive Function Program in IDL

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

Current Time: Sat Oct 11 15:40:16 PDT 2025

Total time taken to generate the page: 0.79918 seconds