Comments
The compiler language supports ‘C’, ‘C++’ and Java style comments. For example:
d=sin(z); // This is a one-line c++ style comment /* This is a multi line comment yet another line of comment */ z=z*z+d;
The “one-line” comment style only comment to the end of the line.
You should be careful not to nest ‘C’ style comments, which can happen when commenting out large blocks.
/* z=z^2+c; /* This comment will cause a problem */ */
Example 1 |
Example 2 |
Example 3 |
my-formula
{ int i; // some comment ... } |
f4_sirps (XAXIS) { ... /* blah blah */ } |
f4sirps ( YAXIS ) { ... /* comment over more than one line */ } |