Re: (apply #'and '(t t nil)) not work
On Mon, 31 Mar 2008 21:41:24 +0800, fishmacs wrote:
Apparently and is not a normal function like +, -, ...
Correct; AND is a macro.
I can write (and t t nil), but if the parameters are packaged into a list,
how can I do?
One way is to use EVERY, specifying the IDENTITY function as a predicate.
(every #'identity '(t t nil)) => nil
Another way is to use macro expansion:
(let ((list '(t t nil))) `(and ,@list)) => (and t t nil)
(eval *) => nil
--
Dave Seaman
Court affirms Judge Yohn's ruling.
<
http://www.ipsnews.net/news.asp?idnews=41761>
.
Relevant Pages
- Re: on.time
... Runs a macro at a specified time. ... Microsoft Excel was not in Ready mode within 30 seconds, ... Insert_logical is a logical value specifying whether you want every day ... The following macro formula runs a macro called Test at 5:00:00 P.M. every ... (microsoft.public.vb.general.discussion) - Re: AutoKeys feature and [Dirty] problem
... It won't do any harm to try and run a SaveRecord even if the record is not dirty. ... When I click with the mouse on the toolbar, ... When I press, it runs macro AutoKeys, which is: ... specifying the correct for or report context." ... (microsoft.public.access.macros) - Re: AutoKeys feature and [Dirty] problem
... When I click with the mouse on the toolbar, ... When I press, it runs macro AutoKeys, which is: ... "DBname can't find the name 'Dirty' you entered in the expression. ... control that wasn't on the current object without specifying the correct ... (microsoft.public.access.macros) - Re: Make Variable Range in VBA
... Judging by the code this was the result of recording the macro. ... To modify ... You don't need them as you are specifying the full path\filename in the ... Range and save the file name with jeff1 up to jeff500. ... (microsoft.public.excel.programming) - Re: How do I refer to a general module?
... SandyR wrote: ... created a general module called relink_at_startup with the code in it ... from an autoexec macro. ... current object without specifying the correct form or report context." ... (microsoft.public.access.modulesdaovba) |
|