☑ cool new feature ☐ could help many users! ☐ removes a „bug“ ☐ nice to have ☐ nobody needs it What inspired this wish list request? edit: first part shifted to Expression Indexing: How to climb the Expression Tree? Thanks @jthi for providing a solution: Via Extract expr a user has the possibility to search and extract parts of Expressions. The function provides a pattern search and returns the first match. Even Wildcards are possible :) What is the improvement you would like to see? A mixture of Display Tree Indexing and Data Table Indexing - just for expressions: A more precise read access via: dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
myExpr=Expr(gb = dt << Graph Builder(
Size( 437, 413 ),
Graph Spacing( 4 ),
Variables( X( :height ), Y( :weight ), Y(:height), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
));
//instead of:
Arg(Arg(Arg(Arg(Arg(myExpr,2),2),3),3),1)
// I want to use:
myExpr[2][2]["Variables"]["Y"(2)][1]
//assign // send // Graph Builder // Variables // or like it's possible for Display Trees: myExpr["Variables"]["Y"(2)][1] Where it gets really cool: write access similar to what's is possible via Data Table Indexing: myExpr["Variables"]["Y"(2)][1] = Expr(:height); Like Substitute - but in a different dimension! [edit] And maybe the best application of Expression Indexing: Insert Into , e.g.: Insert Into ( myExpr["Variables"], Expr(Y(:age))) Why is this idea important? With the Power of Expression Indexing, Expression Handling in Jmp will get easier :) more wishes submitted by
... View more