There are two ways insert comments into Gamma code. To comment out a line, you
can use a double slash ( // ) like this:
a = 5; b = 7; // This assigns the value of c. c = a + b;
To comment out a block of text, you can put the symbol /*
at the beginning, and */ at the end, like this:
a = 5; b = 7; /* This assigns the value of c, which is very important to the future of our project.*/ c = a + b;
![]() | |
It is not permitted to put an unmatched double quote mark (
/*
princ ("/* this is what a comment looks like\n");
princ (" when extended to multiple lines\n");
princ ("*/\n");
*/ |