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 #89538 is a reply to message #89537] Fri, 24 October 2014 04:53 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
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
[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 13:47:05 PDT 2025

Total time taken to generate the page: 0.00444 seconds