CNC Simulator Pro

user guide

2.7. Comments in code

There are two ways to make comments in the CNC programs. The most common one is to put the comments inside parentheses.
CNC codes inside the parentheses will be ignored by the CNC Simulator Pro interpreter, but it is important to note that CNC Simulator Pro specific $-commands will not be ignored.
Another type of comment is the semicolon comment. It is commonly used to comment out whole sections of blocks.
To comment out several blocks, select them in the editor (on the keyboard, hold down shift and press the up and down arrows to select or drag the mouse, holding down the left mouse button).
Selected blocks will be shown in blue.
Then from the Edit menu, select Comment out selection.
To uncomment blocks, select them as above and click Uncomment selection from the Edit menu.