script to add two column
i am trying to add two columns.
two of the column has name abcd and efgh
following line works:
dt_tab << New Column( newcolumn, formula( :name( "abcd" ) + :name( "efgh" ) ) );
but following code is throwing an error
name1 = "abcd";
name2 ="efgh";
dt_tab << New Column( name1 || "3", formula(:name(name1) + :name(name2)));
why is the 2nd method not working?