Re: Intlist question

2002-10-14 Thread Leopold Toetsch
Simon Glover wrote: > I've just tried to write PASM like: > > new P0, .IntList > new P1, .PerlInt > > set P1, 20 > set P0[0], P1 intlist takes only integers as data, no PMCs. > Simon leo

Re: Intlist question

2002-10-13 Thread Steve Fink
On Sun, Oct 13, 2002 at 11:43:23PM -0400, Simon Glover wrote: > > I've just tried to write PASM like: > > new P0, .IntList > new P1, .PerlInt > > set P1, 20 > set P0[0], P1 > ... > end > > only to have it fail with the message: > >'Subscript on something that's

Intlist question

2002-10-13 Thread Simon Glover
I've just tried to write PASM like: new P0, .IntList new P1, .PerlInt set P1, 20 set P0[0], P1 ... end only to have it fail with the message: 'Subscript on something that's not an aggregate!' Is this a bug or a feature? Simon