CNCSimulator 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 CNCSimulator interpreter but it is important to note that CNCSimulator specific $-commands will not be ignored.
Another type comment is the semicolon comment. These are 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 gray.
Then from the Edit menu, select Comment out selection.
To uncomment blocks, select them as above and click Uncomment selection from the Edit menu.