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

Home » Public Forums » archive » buggy dictionary
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: buggy dictionary [message #91157 is a reply to message #91155] Tue, 09 June 2015 09:15 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Tuesday, 9 June 2015 09:10:48 UTC-7, Dick Jackson wrote:

> Oops, you're right! And I do find the same behaviour, when I actually test Helder's case:
>
> IDL> a = dictionary('b',dictionary('c',findgen(10)))
> IDL> a.b.c[[1:-1]]
> 1.0000000 0.00000000 0.00000000
> IDL> a.b.c[1:-1]
> 1.0000000 2.0000000 3.0000000 4.0000000 5.0000000 6.0000000
> 7.0000000 8.0000000 9.0000000
> IDL> a.b['c',[1:-1]]
> 1.0000000 0.00000000 0.00000000
> IDL> a.b['c',1:-1]
> 1.0000000 2.0000000 3.0000000 4.0000000 5.0000000 6.0000000
> 7.0000000 8.0000000 9.0000000

I should have added:
... running this at a Windows command prompt, right after printing this correct answer, the hard crash happens!

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple Processing
Next Topic: sort points clockwise or clounterclockwise

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

Current Time: Wed Oct 08 11:44:20 PDT 2025

Total time taken to generate the page: 0.00478 seconds