Lisp falters

I have a routine which finds multiple occurences of a text or mtext entity based on picking one instance.

I don't believe it had the problem before, but in v9.3 it fails on picking "2m \\PTRANSITION @9% ". Still works on other lines.

I'm assuming it stumbles on the \P carriage return character, is that normal behaviour?

(Defun C:deltxt ()
(WHILE T
(setq b (cdr (assoc 1 (entget (car (entsel))))) ss (ssget "x" (list (cons 1 b))))
(command "erase" ss ""))
)

Comments

  • In BricscadClassic-V7.1.0018 the lisp also fails. I find that "@" is the culprit.

  • Thanks for checking, Roy. On reinstalling v9.2.16 I find it stops when I pick that line, but v9.3 completely closes instantly.

     Must have never encountered the character using that routine before and didn't bother to dissect the line to find which character caused it.

    In 9.2.16 I just press escape and carry on work.

This discussion has been closed.