emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About babel and header arguments


From: Neil Jerram
Subject: Re: About babel and header arguments
Date: Sun, 10 Apr 2022 16:00:31 +0100

Hi Henrik,

On Sun, 10 Apr 2022 at 10:56, Henrik Frisk <frisk.h@gmail.com> wrote:
>
> Hi,
>
> I'm not a skilled (scheme) programmer so maybe there is something obvious I'm 
> missing here. In the first example the header argument y is interpreted as I 
> would expect it, but in the second it isn't:
>
> #+begin_src scheme :var y=10 :results value
>   (+ 10 y)
> #+end_src
>
> #+RESULTS:
> : 10

I'm surprised by this one - shouldn't we expect the result 20 ?

Best wishes,
    Neil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]