I get this too, again essentially cutting/[pasting your code (minus the typo "instrt"!) Don't see anyting wrong with your syntax! -- Pete -- On Tue, Mar 30, 2021 at 11:43:45PM +0200, Jeanette C. wrote: > Hey hey, > I also have issues reading a string value from a channel. > instrt 1 > chn_S("Strings", 3) > chnset("Hello World", "Strings") > ... > endin > > instr 2 > ... > Sname = chnget("Strings") > endin > results in an error: > INIT ERROR in instr 2 (opcode chnget.i) line 21: channel already exists > with incompatible type > #i0 chnget.i "Strings" > > When not using the functional form on the chnget it works. > > I also tried chnget:i("Strings"), but no luck. What am I doing wrong? > > Best wishes and many thanks, > > Jeanette > > -- > * Website: http://juliencoder.de - for summer is a state of sound > * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g > * Audiobombs: https://www.audiobombs.com/users/jeanette_c > * GitHub: https://github.com/jeanette-c > > Top down, on the strip > Lookin' in the mirror > I'm checkin' out my lipstick <3 > (Britney Spears) > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here