It makes a selection of all lines starting from this point x=5, y=3, z=2.
However when I get the values of 5,3,2 from an other command as variables e.g
(setq a 5 b 3 c 2)
the following gives me error "bad ssget list"
(setq myvar (ssget "X" '((0 . "LINE") (10 a b c))))
Would it be possible to avoid this and have the selection based on xyz points as variables rather than fixed known values?
Further to David's excellent suggestion, here is a tutorial explaining why the quote cannot be used when there are expressions to be evaluated: The Apostrophe & Quote Function