cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar

Comments

Started ‎11-08-2022 by
Modified ‎11-08-2022 by
View Fullscreen Exit Fullscreen

Next, let's talk about comments. It can be really helpful to include comments in your scripts. Comments aren't executed when the script runs, so they could be notes to yourself (for example, documenting the script for future updates or maintenance), or they could be notes to others who might use your script (providing instructions, for example). You might also comment out a portion of your script during development if that piece doesn't need to run every time you test your script. So there are two ways to designate comments in your scripts: first, you can precede a comment with two forward slashes. These two slashes tell JMP to treat the remainder of the line as a comment. The other way to indicate a comment is to enclose it with a forward slash and asterisk at the beginning and then an asterisk and forward slash at the end. This second method lets you easily create comments that span multiple lines, or comment within a line, because everything between the opening and closing comment tags will be ignored by the parser when the script runs.