Re: strange behaviour of concat operator

2002-10-26 Thread Clinton A. Pierce
At 10:22 PM 10/26/2002 +0530, Gopal V wrote: If memory serves me right, Ramesh Ananthakrishnan wrote: > I have this code > > set S12 "" > set I0 0 > WHILE: > concat S12 "hi" > add I0 1 > lt I0 10 WHILE > print S12 > ret ... > Right version of Parrot, so i

Re: strange behaviour of concat operator

2002-10-26 Thread Dan Sugalski
At 8:46 AM -0700 10/26/02, Ramesh Ananthakrishnan wrote: Well S12 does not Concatenate. I tried it a million other times. If S12 is "" or " " or 0 it does not concatenate but just stores "hi" once. Right version of Parrot, so is this a bug? I hunted round the bugdatabase for some time, but co

Re: strange behaviour of concat operator

2002-10-26 Thread Leopold Toetsch
Clinton A. Pierce wrote: At 08:46 AM 10/26/2002 -0700, Ramesh Ananthakrishnan wrote: I have this code set S12 "" set I0 0 WHILE: concat S12 "hi" add I0 1 lt I0 10 WHILE print S12 ret Well S12 does not Concatenate. > The example seems to run fine here.

Re: strange behaviour of concat operator

2002-10-26 Thread Gopal V
If memory serves me right, Ramesh Ananthakrishnan wrote: > I have this code > > set S12 "" > set I0 0 > WHILE: > concat S12 "hi" > add I0 1 > lt I0 10 WHILE > print S12 > ret ... > Right version of Parrot, so is this a bug? I get No entries on stack! hi

Re: strange behaviour of concat operator

2002-10-26 Thread Clinton A. Pierce
At 08:46 AM 10/26/2002 -0700, Ramesh Ananthakrishnan wrote: I have this code set S12 "" set I0 0 WHILE: concat S12 "hi" add I0 1 lt I0 10 WHILE print S12 ret Well S12 does not Concatenate. I tried it a million other times. If S12 is "" or " " or 0 it does n

strange behaviour of concat operator

2002-10-26 Thread Ramesh Ananthakrishnan
I have this code set S12 "" set I0 0 WHILE: concat S12 "hi" add I0 1 lt I0 10 WHILE print S12 ret Well S12 does not Concatenate. I tried it a million other times. If S12 is "" or " " or 0 it does not concatenate but just stores "hi" once. Right version of P