cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Introduce Eval Expr First() as a new wrapper for Eval( Eval Expr( ... ) )

I see Eval( Eval Expr( ... Expr( ) ) ) peppered throughout code, and once their separate functions is understood it is clear why they exist as separate functions.  However, to anyone new to scripting it takes time to start using all three functions effectively.  A new wrapper around Eval( Eval Expr( would reduce some perceived complexity.  For example, a wrapper called 'Eval Expr First' might make this more clear:

 

x = 2;

Eval Expr First(
	New Table( "Untitled 5",
		Add Rows( 1 ),
		New Column( "Column 1", Numeric, "Continuous", Format( "Best", 12 ),
			Formula( Expr( x ) )
		)
	)
);
1 Comment
Ryan_Gilmore
Community Manager
Status changed to: Archived
We are archiving this request. If this is still important please comment with additional details and we will reopen. Thank you!