Comments are notes in the code that are ignored by the JSL processor (or parser). You include comments to describe sections of the script. Comments are also convenient for removing portions of a script temporarily. For example, you can insert comment symbols around code that might be causing an error and then rerun the script.
Type the comment symbols around code that you want to comment. The following example shows code commented with /* */ in the middle of a line. When the script is run, JMP considers both expressions to be identical.
Comment Symbols describes the comment symbols.
Add //! to the first line of the script, and the script runs automatically when opened in JMP. (In other words, the script editor does not open.)
|