| Unless things have changed dramatically in the past years, there
are 3 different ascii end-of-line terminations:
UNIX: NEWLINE (0x0A, aka LINEFEED)
MAC: RETURN (0x0D, aka CARRIAGE RETURN)
DOS: RETURN - NEWLINE
As a result, if you transfer a text file with unix linefeeds to a mac
or a windows box, the software will treat it as a single-line file,
with obvious consequneces for languages that base at least part of
their syntax on "lines", like csound does (Opcodes have to be on
one line and comments extends to the end of a line).
The solution is to watch out and always transfer text files in a mode
that tranlsates the end-of-line markers automatically, like ftp's
ASCII mode.
A simple no-brainer solution on all platforms is to open a wrongly
transferred ascii file in your web browser
(file://.t[e]xt)
and then "save-as" it as whatever.
There shouldn't be any "gremlins" in a csound file, anyway.
Hope that helps, and sorry if i've stated the obvious.
-Tobias
______________________________________________________________________
Tobias Kunze tkunze@ccrma.stanford.edu
CCRMA, Stanford University http://www-ccrma.stanford.edu/~tkunze |