|
Re: Maximum number of elements in a hash [message #84339 is a reply to message #84338] |
Mon, 13 May 2013 04:57  |
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
|
|
|