Csound Csound-dev Csound-tekno Search About

[Csnd] Can string variables really be k-rate?

Date2008-01-26 14:49
FromRory Walsh
Subject[Csnd] Can string variables really be k-rate?
The manual states that string variables can be manipulated at 
initialisation or performance time. So why won't the following code work 
for me? It runs but keeps spitting out the same thing each time, am I 
missing something?

instr 1
k1 line 1, p3, p3
Sname = "number";
Sres sprintfk "%s:%2.1f\n", Sname, k1
printks Sres, 0
endin

Rory.