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 Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

JSL debugging: placeholder for last returned value

☐ cool new feature
☐ could help many users!

☐ removes a „bug“

☑ nice to have

☐ nobody needs it

 

 

In Mathematica, one can use "%" as a placeholder for the last returned value.

hogi_0-1668361114553.png

Could you please implement something similar in JSL?

Could help during debugging:

Run single lines of the original code, add some test code

important: don't mess up the original code lines,

but instead: get access to the return values via the placeholder .

Aditional benefit: work gets focused on "forward direction":

Ah, there is some returned value, how to continue and get most out of it ...

instead of 

How do I have to change the previous code to get access to the returned value.

 

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Graph Builder(
	Size( 437, 413 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
// during debugging:
gb = %;(gb << XPath( "//AxisBox" )) << select;// or even better:
gb << get XML();
New Window("xml", %)

https://community.jmp.com/t5/Discussions/placeholder-for-the-last-returned-value/m-p/568699

 

 

 

 

more wishes submitted by  hogi_2-1702196401638.png

3 Comments
kayleewarren
Staff
Status changed to: Acknowledged

@hogi Thank you for your suggestion! We have captured your request and will take it under consideration.

SamGardner
Level VII
Status changed to: Investigating
 
SamGardner
Level VII
Status changed to: Not Planned For Now

@hogi thank you for the idea.  After some review, we have decided to not pursue this.