Re: Indexing hashtables

2005-06-22 Thread Leopold Toetsch
Klaas-Jan Stol wrote: x["y;a"] = $P10 # (1) this does not work with the code below You want: x["y"; "a"] = $P10 leo

Re: Indexing hashtables

2005-06-22 Thread Joshua Juran
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;

Indexing hashtables

2005-06-22 Thread Klaas-Jan Stol
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"] =