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 #90299 is a reply to message #90297] Wed, 18 February 2015 13:18 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Wednesday, February 18, 2015 at 1:55:39 PM UTC-7, bill...@gmail.com wrote:
> On Wednesday, February 18, 2015 at 3:37:46 PM UTC-5, JDS wrote:
>> Try:
>>
>> IDL> a=hash() & c=(a['b']=hash())
>>
>> I believe auto-instantiation would make HASH/DICT/etc. much more useful. I.e. I ought to be able to say:
>>
>> IDL> a=hash() & a['b','c']='test'
>>
>> and have a['b'] auto-initialized as an empty hash.
>>
>> JD
>
> Crashes on OSx 10.9.5, on RHEL 6.6 gives:
> % Key must be a scalar string or number.
> % Execution halted at: $MAIN$

The crash is fixed in IDL 8.4.1. Thanks for reporting it!
-Chris
p.s. I can't quite wrap my head around how the auto-instantiation would work. More examples?
[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 11:43:27 PDT 2025

Total time taken to generate the page: 0.00370 seconds