Nested associative arrays OR associative arrays of dynamic arrays

In reply to dave_59:

Hi David,
Thanks for the pointers. Based on that I created a quick example…

module mytest();

typedef string AADD[*]; // create a hash type
AADD arrayOfAAs; // create an array of hashes
arrayOfAAs AAWC2[string]; // create a hash of ‘array-of-hashes’ <<— This Doesn’t.
AADD AAWC3[string]; // create a hash of hash. <<---- This Works!!

I get the following error. I would like to have a string to reference an array of hashes OR even
Error-[SE] Syntax error
Following verilog source has syntax error :
memory of unknown type
“a.sv”, 6: token is ‘;’
arrayOfAAs AAWC2[string]; // create a hash of ‘array-of-hashes’