This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Drawing polyline from file

1 post · 3818 views

Hi everyone,
I have a txt file which contains the coordinates of one polyline written in just one line, like this:
215.215 2154.2 144.213 2352.235 201.1 2354.32 ...
How can I read each number in order to draw that polyline?
Note: the coordinates line alternate between the X coordinate and Y coordinate.
Thank for your seggestions.