Storing the Return Value of Gp:getPointInput in a Variable

Now try something else. Call the function again, but this time store the return value in a variable named gp_PathData. To do this, enter the following at the Console window prompt:

(setq gp_PathData (gp:getPointInput))

To view the value of the variable you just set, enter its name at the Console window prompt:

gp_PathData

Visual LISP returns data like the following:

((10 2.17742 1.15771 0.0) (11 13.2057 7.00466 0.0) (40 . 1.12747) (50 . 0.487498) (41 . 12.4824))