Jump to content

Block comment bug inside def-score?


Recommended Posts

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

Link to post
Share on other sites

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.

 

Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy