Hello,
While trying to get over the soundfiler /table not loading files, I stumbled on the following.
The following instrument (taken from Csound manual) does not work with Cabb2 beta but works with Cabbage 1.
instr 10
Swd pwd
printf_i “Working directory is ‘%s’\n”, 1, Swd
prints “Reading myself =):\n”
read:
Sline, iLineNum readfi “combo.txt”
printf_i “Line %d: %s”, iLineNum, iLineNum, Sline
if iLineNum != -1 igoto read
endin
Here is the error generated. :
error: syntax error, unexpected T_IDENT (token “pwd”) from file C:\Users\Cube\Documents\Csound\soundfiler.csd (1)
line 26:
. >>> Swd pwd <<<
Unexpected untyped word Swd when expecting a variable
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra
Hope this helps