[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to pass named table reference in source block variable
From: |
Roland Donat |
Subject: |
Re: [O] How to pass named table reference in source block variable |
Date: |
Wed, 7 Aug 2013 08:28:17 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Thorsten Jolitz <tjolitz <at> gmail.com> writes:
>
> This does the job in Emacs Lisp:
>
> #+TBLNAME: T
> | | x | 1 |
> | ^ | | varx |
>
> #+begin_src emacs-lisp :var x=T[0,-1]
> x
> #+end_src
>
> #+results:
> : 1
>
Thanks for the answer but in fact, my objective is precisely to avoid using
the indices of the value I want to pass as input of the code block.
My goal is to use the cell name reference "varx" which would make the code
block simpler to maintain. Indeed, if I add new data on the top of table T,
I wouldn't have to change the reference in the code block since the name
reference is fixed.
- [O] How to pass named table reference in source block variable, Roland Donat, 2013/08/06
- Re: [O] How to pass named table reference in source block variable, Thorsten Jolitz, 2013/08/06
- Re: [O] How to pass named table reference in source block variable, Nick Dokos, 2013/08/06
- Re: [O] How to pass named table reference in source block variable,
Roland Donat <=
- Re: [O] How to pass named table reference in source block variable, Thomas S. Dye, 2013/08/07
- Re: [O] How to pass named table reference in source block variable, Roland Donat, 2013/08/07
- Re: [O] How to pass named table reference in source block variable, Thomas S. Dye, 2013/08/07
- Re: [O] How to pass named table reference in source block variable, Roland Donat, 2013/08/08
- Re: [O] How to pass named table reference in source block variable, Eric Schulte, 2013/08/08
- Re: [O] How to pass named table reference in source block variable, Roland Donat, 2013/08/08