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 #90312 is a reply to message #90303] Thu, 19 February 2015 00:22 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 18.02.2015 23:18, Chris Torrence wrote:
> Okay, I like that. I was able to hack it in with 3 lines of code.
>
> IDL> a = hash()
> IDL> a['a1','b1','c1','d1','e1','f1','g1','h1'] = 5
> IDL> a
> {
> "a1": {
> "b1": {
> "c1": {
> "d1": {
> "e1": {
> "f1": {
> "g1": {
> "h1": 5
> }
> }
> }
> }
> }
> }
> }
> }

That's cool! But it doesn't have to be a hash() as default. You could
also need something like:

a = hash(DEFAULT=list())
a['key']->add, 1

Fabien
[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 16:09:23 PDT 2025

Total time taken to generate the page: 0.00402 seconds