Re: Q: Keys can be strings/ints only?

2006-01-21 Thread Leopold Toetsch
On Jan 20, 2006, at 21:34, Klaas-Jan Stol wrote: Hi, I tried to index aggregates using several types of keys (that is, several types of values), and it seems only string and integer values can be used as keys. A quick look at the source in compilers/imcc/symreg.c confirms this, there is no

Q: Keys can be strings/ints only?

2006-01-20 Thread Amos Robinson
I think I remember reading one of the comments in the IMCC compiler something to the effect of "if someone needs N keys they can just convert to strings." Sorry I can't find the exact wording right now, but it might point you somewhere useful. Amos Robinson On 1/21/06, Klaas-Jan Stol <[EMAIL PROT

Re: Q: Keys can be strings/ints only?

2006-01-20 Thread Klaas-Jan Stol
Matt Fowles wrote: Klaas-Jan~ On 1/20/06, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote: Hi, I tried to index aggregates using several types of keys (that is, several types of values), and it seems only string and integer values can be used as keys. A quick look at the source in compilers/imcc/

Re: Q: Keys can be strings/ints only?

2006-01-20 Thread Matt Fowles
Klaas-Jan~ On 1/20/06, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to index aggregates using several types of keys (that is, > several types of values), and it seems only string and integer values > can be used as keys. A quick look at the source in > compilers/imcc/symreg.c confir

Q: Keys can be strings/ints only?

2006-01-20 Thread Klaas-Jan Stol
Hi, I tried to index aggregates using several types of keys (that is, several types of values), and it seems only string and integer values can be used as keys. A quick look at the source in compilers/imcc/symreg.c confirms this, there is no case for 'N' values (and a test makes Parrot say bu