The Line function with protected variables
function LineWithProtected input Real x "Independent variable"; input Real p0[2] "Coordinates for one point on the line"; input Real p1[2] "Coordinates for another point on the line"; output Real y "Value of y at the specified x"; end LineWithProtected;