trim command sometimes "cut" the wrong side

I have now upgraded from 6.19 to 6.20 PE. I still found, that the trim command sometimes cut off the wrong section of a polyline. I saw this behavior also in the previous version.

I also recognize, that the script command works not well. If I try to run a small script do draw a polyline given by external data like the following, the script just draw nonsense.

PLINE 0.0000,0.0000 w 0 0


There are no blanks after every line, so it should work ….
...and draw a polyline from 0,0 with the width 0 over all the given data points.

Any Ideas?

best regards