Error handling help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I really need help in understanding what this attempt at error handling is doing or if it is really required for this function to isolate layers in AutoCAD 2010.
The person who wrote it is long gone and the support is just trying to piece together the right version of source .lsp files compiled into VLX to have it working the way they believe it should.
Some users has version that does not pop up this message and continues with performing the function to isolate layers. Other users have a different version which will pop up this message "This is the OLD ISO with multi selections - need to add layerstate storage" but can click "OK" and continue.
Can this be REM out of the function?
(defun c:iso (/ ss cnt lay laylst val)
(defun trap (errmsg)
(setq *error* err)
(prompt errmsg)
(princ)
);endfunction trap
(setq err *error* *error* trap)
(alert "\nThis is the OLD ISO with multi selections - need to add layerstate storage")
Thank you