In reply to Naven8:
Hello Dave,
The following code returns “0123” for ARY[“A19”][0]
and it gives the ASCII value of “0” for ARY[“A19”][0][0].
string ARY[string][int] =
'{
"A19" : '{0:{"0","1","2","3"} , 1:{"4","1","7","3"}}
};
It doesn’t work the same way when I change the data type of the array elements to int, for example
int ARY[string][int] =
'{
"A19" : '{0:{8'd0,8'd1,8'd2,8'd3} , 1:{8'd4,8'd5,8'd6,8'd7}}
};
ARY[“A19”][0] returns the concatenated value whereas ARY[“A19”][0][0] returns a wrong value.
Basically I want ARY[“A19”][0][0] to return integer 0 and ARY[“A19”][0][1] should return integer 1 and so on. Is there any way to access these innermost elements as an array?