This statement loads tw.bas and uses twq.qlb as a quick library. This should be the library you made. You can also make a stand-alone executable file of the program if you like. The program first asks you for a file that lists the statistics of the two-way data. K is the k ratio value.
T is the t statistic of the difference of interest.
TM is the corresponding marginal t statistic for the difference over all levels of the factor whose level does not change in the difference. W is much like a P value. If W is greater than a specified K, then the difference is significantly greater than 0. Here, K and MSE are not used. In this case, T is a first guess at that critical value.