tag:blogger.com,1999:blog-4011252463639388552.post1719635504419329004..comments2024-03-20T14:03:01.388-04:00Comments on JTB World Blog: getkword initget and default in AutoCAD’s AutoLISPJTB Worldhttp://www.blogger.com/profile/02249678064305703202noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4011252463639388552.post-44386711098268995792011-01-15T04:17:12.286-05:002011-01-15T04:17:12.286-05:00I agree, when there are only two choices "if&...I agree, when there are only two choices "if" is a good choice. But with "cond" it is easier to extend with multiple choices.JTB Worldhttps://www.blogger.com/profile/02249678064305703202noreply@blogger.comtag:blogger.com,1999:blog-4011252463639388552.post-41510287096871008052011-01-14T11:56:46.349-05:002011-01-14T11:56:46.349-05:00Instead of "cond" I would prefer to use ...Instead of "cond" I would prefer to use shorter "if":<br />(if (= "No" kw) (alert "NO")(alert "YES"))<br /><br />Nikolay N.Poleshchuk,<br />http://poleshchuk.spb.ru/cad/eng.htmlAnonymoushttps://www.blogger.com/profile/12070086321355921331noreply@blogger.com