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

Home » Public Forums » archive » Dictionary error does not generate error
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: Dictionary error does not generate error [message #89539 is a reply to message #89538] Fri, 24 October 2014 05:02 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Friday, October 24, 2014 1:53:31 PM UTC+2, Fabien wrote:
> IDL 8.3:
>
> IDL> dict = DICTIONARY('data', FINDGEN(10))
> IDL> PRINT, dict.data[2:5]
> % Subscripts are not allowed with object properties.
> % Execution halted at: $MAIN$
> IDL> PRINT, (dict.data)[2:5]
> 2.00000 3.00000 4.00000 5.00000
>
> IF the syntax: dict.data[2:5] now works in 8.4, this would be so great!
> The use of () makes nested dictionaries really cumbersome to use

Well, it's looking good in 8.4, so as you said... one can get rid of quite some (). Good.

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: windows blue screen
Next Topic: Re: IDL 8.2+ Segmentation Fault / Abort on OSX with Dual-Thunderbolt Displays

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

Current Time: Wed Oct 08 15:39:18 PDT 2025

Total time taken to generate the page: 0.00429 seconds