11.07.2015 Views

AutoLISP Developer's Guide (.pdf) - Documentation & Online Help

AutoLISP Developer's Guide (.pdf) - Documentation & Online Help

AutoLISP Developer's Guide (.pdf) - Documentation & Online Help

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Equality and conditional functionsFunctionDescription(eq expr1 expr2)Determines whether two expressions areidentical(equal expr1 expr2 [fuzz])Determines whether two expressions are equal(if testexpr thenexpr [elseexpr])Conditionally evaluates expressions(or [ expr ...])Returns the logical OR of a list of expressions(repeat int [ expr ...])Evaluates each expression a specified numberof times, and returns the value of the last expression(while testexpr [ expr ...])Evaluates a test expression, and if it is not nil,evaluates other expressions; repeats this processuntil the test expression evaluates to nilError-Handling FunctionsThe following table provides summary descriptions of the <strong>AutoLISP</strong>error-handling functions.Error-handling functionsFunctionDescription(alert string)Displays an alert dialog box with the error orwarning message passed as a string(*error* string)A user-definable error-handling function(exit)Forces the current application to quit(quit)Forces the current application to quit126 | Chapter 3 Appendixes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!