Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: angel tech on November 09, 2009, 08:55:07 PM
-
is it possible to have an info line in a program, let's say to tell me which tool to change to when needed.
-
Just put it n parenthesis.
(Change tool)
-
as easy as that, thanks ;D
-
Dont you have to be careful where you put the parenthesis? Like it has to be alone or it is a subprogram? Mine throws an error if already inside a set of parenthesis.
-
N10 (REMEMBER IT IS TIME TO CHANGE THE TOOL)
Just like above, the N10 is just a line number, you shouldn't get an error.
RICH
-
Dont you have to be careful where you put the parenthesis? Like it has to be alone or it is a subprogram? Mine throws an error if already inside a set of parenthesis.
Yes mach doesn’t allow nested parenthesis in a comment, why I don’t know.
But you can use parentheses inside a comment if you start the comment with a semicolon such as:
N10 ;A macro containing xx(xx) is required for this file
Will work just fine.
Al