Passing parameters to routine

This part, pathsR{*} means that you are passing an array parameter INOUT. The array has to be declared and the points can be assigned to p1, p2, etc.,