Labtalk support subtraction of two dataset with automatic interpolation, assuming that
"Data1" is your raw data and "Base" is your baseline worksheet and each has A(X) and B(Y), and you want to put the subtraction result into Data1_C, then the follow script will do the trick, assuming that you have plot Data1_B and Base_B into a graph
data1_c = data1_b;
data1_c - Base_B;
the result is put back into data1_C and interpolation on Base_B automatically applied.
if you do, instead,
data1_C -= Base_B;
then there is no interpolation, and the two dataset must match in X values