The when macro is followed by a test clause that evaluates to t or nil. If the test clause is evaluated to nil, then no form is evaluated and nil is returned, however the test result is t, then the action following the test clause is executed.
Create a new source code file named main.lisp and type the following code in it.
On clicking the execution button or typing Ctrl+E, LISP executes it immediately and the result is shown below:
Lisp programming Related Interview Questions
|AutoCAD Interview Questions||Python Interview Questions|
|Microstrategy Interview Questions||Basic Programming Interview Questions|
|Ruby on Rails Interview Questions||Ruby Interview Questions|
|Prolog Interview Questions||CGI Programming Interview Questions|
|D Programming Language Interview Questions||Workfusion Interview Questions|
|Ruby Sinatra Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.