emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Referring to an Org Babel variable in the invocation arguments t


From: Nicolas Goaziou
Subject: Re: [O] Referring to an Org Babel variable in the invocation arguments to another Org Babel code block
Date: Thu, 29 Dec 2016 16:49:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Zack Piper <address@hidden> writes:

> When I use your example, and adjust it slightly:
>
>     #+NAME: block-1
>     #+BEGIN_SRC shell :var x="X"
>
>     echo ">>>" $x "<<<" #+END_SRC
>
>     #+BEGIN_SRC shell :var c="test" y=block-1(c)
>     echo $y
>     #+END_SRC
>
>     #+RESULTS:
>     : >>> $c <<<

ITYM

  y=block-1("c")

Regards,

-- 
Nicolas Goaziou



reply via email to

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