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

Home » Public Forums » archive » Re: Maximum number of elements in a hash
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Maximum number of elements in a hash [message #84338] Mon, 13 May 2013 05:04
otto9335 is currently offline  otto9335
Messages: 2
Registered: May 2013
Junior Member
Hello David,

thanks a lot for the explanation.


Regards

Tobias
Re: Maximum number of elements in a hash [message #84339 is a reply to message #84338] Mon, 13 May 2013 04:57 Go to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
The issue is not the number of elements in the hash, but rather the number of
arguments to the function. Here's an example that works because the function
only has two arguments. The resulting hash has 129 elements:

keys = strtrim(indgen(129)+1,2) ; create the strings from the example
vals = intarr(129) ; create the values from the example
h = hash(keys, vals)

All the best,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Maximum number of elements in a hash
Next Topic: ROTATE function

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

Current Time: Wed Oct 08 13:52:30 PDT 2025

Total time taken to generate the page: 0.00449 seconds