Calculation of the expressions If you want to calculate an expression (for example, 'i+1'), call the TfsScript.Evaluate method. ShowMessage(fsScript1.Evaluate('i+1')); It is useful for debugging purposes.