Names Default To Here(1);
dt3 = New Table("table with script",
Add Rows(2),
Compress File When Saved(1),
New Script(
"test", JSL Quote(Local Here(
dt = Current Data Table();
dt << Graph Builder(
Size(528, 454),
Show Control Panel(0),
Variables(X(:Column 1), Y(:Column 2)),
Elements(Points(X, Y, Legend(3)), Smoother(X, Y, Legend(4)))
);
show(dt);
);
) ,
As String(1)
),
New Column("Column 1", Numeric, "Continuous", Format("Best", 12), Set Values([1, 2])),
New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([2, 3]))
);
dt2 = New Table("current table",
Add Rows(0),
Compress File When Saved(1),
New Column("Column 1", Numeric, "Continuous", Format("Best", 12), Set Values([])),
New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([]))
);
Current Data Table(dt2);
Wait(1);
Show(Current Data Table());
dt3 << Run Script("test");
Show(Current Data Table());