It would be convenient to be able to assign an expression to a variable and then use that variable to insert the expression into a data table script using New Script.
dt = New Table("test dt");
anExpr = Expr(
Show("Hello world.")
);
dt << New Script("hello world", anExpr);
Show(dt << Get Property("hello world"));
However, when I try this, the script's content is only the variable name. It works if you run it in this state, but if you save the data table and load it again later, the contents of the variable anExpr are lost and the table script won't work.
Is there a way to insert the contents of the variable into a table script rather than the variable name? Perhaps it can be done with Substitute, Eval Expr, etc, but I tried quite a few combinations of such methods without success.