[...] a similar function in the SAS DATA step. In the DATA step you can use the '||' operator or the "CAT" series of functions to perform string concatenation. To test the GetEqnOfLine function, I wrote loops that iterate …