Re: {CVS ci] assign and set

2004-04-20 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > What does this do now? > set Px, "str" Good question: $ cat set.pasm new P0, .PerlString set P0, "str" set S0, P0 chopn S0, 2 print "str" print "\n" end $ parrot set.pasm s :) We should separate the 2 cases (set_p_sc and set_p_s)

Re: {CVS ci] assign and set

2004-04-20 Thread Jens Rieks
On Tuesday 20 April 2004 09:44, Leopold Toetsch wrote: >    set Sx, Sy        # alias Sx to Sy >    set Sx, "str"     # set Sx to COW copy of "str" >    set Px, Sy        # CHANGED make Px refer to Sy >    assign Px, Sy     # set Px to COW copy of Sy What does this do now? set Px, "str" jens

{CVS ci] assign and set

2004-04-20 Thread Leopold Toetsch
I've now checked in some changes WRT these opcodes. 1) Strings - summary set Sx, Sy# alias Sx to Sy set Sx, "str" # set Sx to COW copy of "str" set Px, Sy# CHANGED make Px refer to Sy assign Px, Sy # set Px to COW copy of Sy 2) PMC summary set Px, Py# al