Rangarajan Posted February 22, 2016 Share Posted February 22, 2016 Hi, While single-line comments are accepted within def-score, block comments are not! When I comment out multiple instruments using block comments in def-score, I get compiler error when I "Evaluate and Play". Is this a known issue? Regards, Rangarajan Quote Link to comment Share on other sites More sharing options...
opmo Posted February 22, 2016 Share Posted February 22, 2016 I don't see any error. Please make sure you are not commenting out an instruments with :sound, :channel :program etc... which might be the default for the other instruments. Good practice is to write :port (if set) :sound :channel and :program in all instruments. Quote Link to comment Share on other sites More sharing options...
Rangarajan Posted February 22, 2016 Author Share Posted February 22, 2016 I got confused between these two comments: #! Can't have this comment inside def-score!!! !# #| This is fine |# What is the first type? I see that in some places, for e.g., in "Stage 11.opmo". I thought this was the block comment in CCL. Regards, Rangarajan Quote Link to comment Share on other sites More sharing options...
opmo Posted February 22, 2016 Share Posted February 22, 2016 This one is a custom one and should not be used - really :-) #! Can't have this comment inside def-score !# This is the correct block comment: #| This is fine |# Quote Link to comment Share on other sites More sharing options...
Rangarajan Posted February 22, 2016 Author Share Posted February 22, 2016 OK, got it! Rangarajan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.