[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Executing part of the code instead of another
From: |
Robert Pluim |
Subject: |
Re: Executing part of the code instead of another |
Date: |
Wed, 07 Oct 2020 09:20:12 +0200 |
>>>>> On Wed, 7 Oct 2020 09:01:00 +0200, Christopher Dimech <dimech@gmx.com>
>>>>> said:
Christopher> What can one use if there is an else branch with multiple
commands, as I would
Christopher> like to use it.
>From 'C-h f if'
if is a special form in `C source code'.
(if COND THEN ELSE...)
Probably introduced at or before Emacs version 1.1.
If COND yields non-nil, do THEN, else do ELSE...
Returns the value of THEN or the value of the last of the ELSE's.
=> THEN must be one expression, but ELSE... can be zero or more expressions.
If COND yields nil, and there are no ELSE's, the value is nil.
Robert
--
- Executing part of the code instead of another, Christopher Dimech, 2020/10/06
- Re: Executing part of the code instead of another, Emanuel Berg, 2020/10/06
- Re: Executing part of the code instead of another, Christopher Dimech, 2020/10/06
- Re: Executing part of the code instead of another, Emanuel Berg, 2020/10/06
- Re: Executing part of the code instead of another, Christopher Dimech, 2020/10/07
- Re: Executing part of the code instead of another, Emanuel Berg, 2020/10/07
- Re: Executing part of the code instead of another,
Robert Pluim <=
- Re: Executing part of the code instead of another, Christopher Dimech, 2020/10/07
- Re: Executing part of the code instead of another, Nick Dokos, 2020/10/07
- Re: Executing part of the code instead of another, Christopher Dimech, 2020/10/07
- Re: Executing part of the code instead of another, Gregory Heytings, 2020/10/07
- Re: Executing part of the code instead of another, Emanuel Berg, 2020/10/07
- Re: Executing part of the code instead of another, Robert Pluim, 2020/10/07
- Re: Executing part of the code instead of another, Emanuel Berg, 2020/10/07
- Re: Executing part of the code instead of another, Robert Pluim, 2020/10/07
- Re: Executing part of the code instead of another, Stefan Monnier, 2020/10/07
- Re: Executing part of the code instead of another, Robert Pluim, 2020/10/07