[Csnd] why does this not work?

hi all -
there is somethin gin invalue/outvalue which i don't understand.
i expected the code below to print the value of kVal as 10 after three seconds.
but the outvalue in instrument 1 does not affect the "test" channel at all.
it works when i replace invalue/outvalue by chnget/chnset.
is this expected behaviour, or a bug in invalue/outvalue?
thanks -
  joachim

instr 1
   iVal = 10
   outvalue("test",iVal)
endin
schedule(1,3,1)

instr 2
   kVal = invalue:k("test")
   printk 1,kVal
endin
schedule(2,0,10)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

As far as I know (and I have to check the code), invalue/outvalue need to have callbacks set
by the host, and it may depend on whether the host has done this (if at all) in such a way
that the in and out channels are the same. The named bus is managed by Csound so you
can do directly from Csound code.