Re: [O] table as argument to code block : type of the elements

2013-09-13 Thread Eric Schulte
Nick Dokos writes: > franc...@avalenn.eu writes: > >> This code does not work because of automatic conversion from string to >> number in org-babel-read-table. >> >> #+TBLNAME: table_test >> | name | id | >> |---+-| >> | name1 | 034 | >> | name2 | 135 | >> | name3 | 1B5 | >> >> #+NAME:

Re: [O] table as argument to code block : type of the elements

2013-09-12 Thread Nick Dokos
franc...@avalenn.eu writes: > This code does not work because of automatic conversion from string to > number in org-babel-read-table. > > #+TBLNAME: table_test > | name | id | > |---+-| > | name1 | 034 | > | name2 | 135 | > | name3 | 1B5 | > > #+NAME: code_test > #+BEGIN_SRC emacs-lisp

Re: [O] table as argument to code block : type of the elements

2013-09-12 Thread Nick Dokos
Bah, humbug: C-c C-c in the wrong buffer. Apologies for the contentless "reply"... -- Nick

Re: [O] table as argument to code block : type of the elements

2013-09-12 Thread Nick Dokos
franc...@avalenn.eu writes: > This code does not work because of automatic conversion from string to > number in org-babel-read-table. > > #+TBLNAME: table_test > | name | id | > |---+-| > | name1 | 034 | > | name2 | 135 | > | name3 | 1B5 | > > #+NAME: code_test > #+BEGIN_SRC emacs-lisp

Re: [O] table as argument to code block : type of the elements

2013-09-12 Thread francois
This code does not work because of automatic conversion from string to number in org-babel-read-table. I found a workaround changing the table to : #+TBLNAME: table_test | name | id| |---+---| | name1 | "034" | | name2 | "135" | | name3 | 1B5 | but I think inhibiting number con

[O] table as argument to code block : type of the elements

2013-09-12 Thread francois
Hello list, This code does not work because of automatic conversion from string to number in org-babel-read-table. #+TBLNAME: table_test | name | id | |---+-| | name1 | 034 | | name2 | 135 | | name3 | 1B5 | #+NAME: code_test #+BEGIN_SRC emacs-lisp :var table=table_test (setq myv "")