Uwe Brauer <o...@mat.ucm.es> writes:

>    > John Kitchin <jkitc...@andrew.cmu.edu> writes:
>    D> the problem seems to be that c0 and c2 are set to nil for some reason. I
>
>    > Or
>
>    > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
>    >   (cl-mapcar 'list c0 c2)
>    > #+END_SRC
>
> Thanks but I obtain
>
> #+RESULTS:
> | 110 | 110 |
> | 105 | 105 |
> | 108 | 108 |
>
> Which is wrong.

Incidentally,

        (mapcar 'string-to-char '("n" "i" "l")) => (110 105 108)

Probably your references are not right.  E.g. in Org-8.2 this file would
produce your observed result.

#+tblname: tab2

| 1 | a | 3 |
| 2 | b | 4 |
| 3 | c | 6 |
| 4 | d | 7 |


#+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
  (cl-mapcar 'list c0 c2)
#+END_SRC


-- 
A clever person solves a problem. A wise person avoids it

Reply via email to