Author Topic: Whats wrong with this lisp?  (Read 6339 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10550
Re: Whats wrong with this lisp?
« Reply #15 on: December 09, 2010, 03:26:02 PM »
Code: [Select]
OR evaluates until non nil and it drives se7en mad :)
:-D
That reminds me, I need to have some more t-shirts printed
:-D

Alright, now you're just using OR on purpose.

And for the record I only have a problem with how you are using it (global vars; recalling previous entries is good in all...in moderation. and if you eliminate the need for global vars you can use the SETQ-COND construct). But part of this gets into that localization-global vars discussion where we "discovered" that there really isnt anything like "hygienic variable declaration" in AutoLisp so i'll leave you guys alone.

T-Shirts?! Haven't I spawned two now?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10550
Re: Whats wrong with this lisp?
« Reply #16 on: December 09, 2010, 03:28:26 PM »
Oh and BTW, if you really want to make me angry keep coming up with well thought out thread-subject-lines like this one.


:)~
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

alanjt

  • Needs a day job
  • Posts: 5351
  • Standby for witty remark...
Re: Whats wrong with this lisp?
« Reply #17 on: December 09, 2010, 03:29:04 PM »
Oh and BTW, if you really want to make me angry keep coming up with well thought out thread-subject-lines like this one.


:)~
LoL
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox