cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

JMP Library

Choose Language Hide Translation Bar
Comments

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.

Recommended Articles