ROFL
I did let them get a little out of control. Ever since you did that Boundingbox routine modeled after MP's code, I've been loving and abusing lambda outside of the use of mapcar (or defining as functions like I've been known to do) like a mad man.
I mean, look at this:
- (([color=Red]lambda[/color] (n l s / d) (while (nth (1+ (setq n (1+ n))) l) (([color=Red]lambda [/color](a b / dist) (setq dist (abs (- (setq d (vlax-curve-getDistAtPoint obj a)) (vlax-curve-getDistAtPoint obj b) ) ) ) (([color=Red]lambda [/color](p) (([color=Red]lambda [/color](text) (vla-put-AttachmentPoint text (vla-put-InsertionPoint text p) ;; (vla-put-Rotation text (angle a b)) (([color=Red]lambda [/color](ang)
5 lambda expressions
You know, I'm surprised you haven't commented on my abandonment of end line comments and #Variable assigning.
BTW/off topic: I got a 96 on my Trig test (final Monday) and 2 of those points were taken off because I forgot to denote my units on a problem. If you hadn't answered my questions, I would have been completely lost on that section. Thanks a lot. |