Hi All
I did that one time, and it was painfully but I lost the script and the memory of that. Below what I am trying to do:
Tweak_List = dt_Temp << Get Column Names("String");
For(i = 1, i <= N Items(Tweak_List), i++,
a = Left(Tweak_List[i], Length(Tweak_List[i]) - 1) || "Δ";
b = Tweak_List[i];
c = Left(Tweak_List[i], Length(Tweak_List[i]) - 2);
dt << New Column(Left(Tweak_List[i], Length(Tweak_List[i]) - 1) || "Δ", Numeric, Continuous, Formula(If(:name1 == :name2, c - b, 0)));
);
In dt I have columns named ColName_2 and ColName, the Tweak_List is the list of names of columns like ColName_2.
I need do create a new Delta Column named ColName_Δ for each pair and have the formula ColName - ColName_2 in it is a condition is meet.
I remember I was working with Eval and Co, but I forgot. Pls help me