Comment/Uncomment out portions in the scriptHi all,
does any of you know how to comment out the portions of the script in JMP?
Thank you!
Re: Comment/Uncomment out portions in the scriptIf anybody thinks there should be better keyboard shortcuts for commenting, you should vote for this suggestion:
https://community.jmp.com/t5/JMP-Wish-List/Keyboard-Shortcut-to-Comment-Code-in-Script-Editor/idi-p/59754
Re: Comment/Uncomment out portions in the scriptReview of the Menu Card for the Script Editor
Help==>Books==>Menu Card
There is not a keyboard short cut for commenting blocks of text
Re: Comment/Uncomment out portions in the scriptIs there a keyboard shortcut to comment/uncomment a block of code?
Re: Comment/Uncomment out portions in the scriptfantastic! Thank you!
Re: Comment/Uncomment out portions in the scriptAnd if you want to do it manually, JMP uses C++ style comments. Either surround the code to be commented out with /* */, or start each line with //.
// Uncommented:
pi = 3.14159;
e = 2.71828;
// Commented out using /* */
/*
pi = 3.14159;
e = 2.71828;
*/
// Commented out a different way
// pi = 3.14159;
// e = 2.71828;
Re: Comment/Uncomment out portions in the scriptSelect the portion you want to change and then right-click in the script window. Select Advanced > Comment Block or Uncomment Block.