Klaas-Jan Stol wrote:
x["y;a"] = $P10 # (1) this does not work with the code below
You want:
x["y"; "a"] = $P10
leo
On Jun 22, 2005, at 2:25 PM, Klaas-Jan Stol wrote:
I have some trouble indexing hashtables.
I have the following code snippet:
x["y;a"] = $P10 # (1) this does not work with the code below
y["a"] = $P10 # (2) this does work with the code below
x.y.a = 1;
hi,
I have some trouble indexing hashtables.
I have the following code snippet:
.sub main
.local pmc x
x = new .Hash
.local pmc y
y = new .Hash
x["y"] = y
$P10 = new .Integer
$P10 = 1
x["y;a"] =