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

Home » Public Forums » archive » IDL8.4 hard crash
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: IDL8.4 hard crash [message #90314 is a reply to message #90313] Thu, 19 February 2015 07:19 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 19.02.2015 15:40, Chris Torrence wrote:
> But I think in this case, since we're indexing using strings,
>then we know that we want a hash for the sub-container. I'd hate
> to complicate it further with a keyword that I have to document.

The argument of the string indexes is true if you have more than one
nested level.

Just in case you are thinking of a Hash() improvement for a future IDL,
it would be good not to be limited to default hashes only, as does
python's defaultdict. The roblem of course is that my example is flawed:

a = hash(DEFAULT=list())

is not okay. I shouldn't give an instance of list but rather a "type"
list or so:

a = hash(DEFAULT='list')
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: raw contents of data memory
Next Topic: Ring in function graphics

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

Current Time: Wed Oct 08 14:12:02 PDT 2025

Total time taken to generate the page: 0.00380 seconds