Variable exclude conditional

Fatfreek

Usenet Archive
Joined
Oct 26, 2000
Messages
96
Reaction score
0
In the following pseudo code snippet, I'm trying to avoid processing a list of closed LWpolylines. The count may be two and it may be 15 or more. Their enames are in list, let's say PolyList. For the sake of clarity I've called any LWpolyline from that list, PolyListItem.

(if (not (equal PolyName1 PolyListItem))
(progn
(command "._area" "_e" PolyName2)
(setq EntArea2 (getvar "area"))
(setq AreaDiff (- EntArea1 EntArea2))
(command "region" PolyName2 "")
etc., etc. etc.

Any tips on how to construct code to exclude action on a variable count of items?

Len Miller
 
Back
Top