Hi Erich, Neuwirth Erich wrote: > Can anybody explain why my example does not work? > > #+TBLNAME: example-table > |1| > |2| > |3| > |4| > #+NAME: table-length > #+BEGIN_SRC emacs-lisp :var table=example-table > (length table) > #+END_SRC > > #+RESULTS: table-length > : 4 > #+name: xvar > 123 > #+name: myblock > #+begin_src emacs-lisp :var xxx=xvar > (* xxx xxx) > #+end_src > > I need to pass string constants and numeric values o code segments this way.
Put a `:' in front of your value. That way, Babel can locate and read the value. #+name: xvar : 123 #+name: myblock #+begin_src emacs-lisp :var xxx=xvar (* xxx xxx) #+end_src #+results: myblock : 15129 Best regards, Seb -- Sebastien Vauban