Thomas S. Dye <t...@tsdye.com> writes: > * Define a local variable > #+name: my-var > #+header: :exports none > #+begin_src R > 768 > #+end_src > #+name: pass-my-var-to-code-block > #+header: :var x=my-var > #+header: :exports both > #+begin_src emacs-lisp > (+ x 1) > #+end_src > > #+results: pass-my-var-to-code-block > : 769 > > The variable is call_my-var().
Yeah, this will work, but it's a huge amount of work. It would be brilliant if one could easily refer to a property inside a subtree. In both text and code. Jarmo