Consider the following code:

-------------------------------------------------8<--------------------------------------------------
#+NAME: test
#+BEGIN_SRC python :var x="foobar"
return len(x)
#+END_SRC
-------------------------------------------------8<--------------------------------------------------

It is possible to call this, as follows:

-------------------------------------------------8<--------------------------------------------------
#+CALL: test(x="fb")
-------------------------------------------------8<--------------------------------------------------

However, I fail to call this function and pass an argument to it when using
org-sbe:
-------------------------------------------------8<--------------------------------------------------
| 6 | #ERROR |
#+TBLFM: @1$1='(org-sbe test)::@1$2='(org-sbe test (x ("fb")))
-------------------------------------------------8<--------------------------------------------------

I tried several possibilities, but nothing worked. Is it at all possible?

Thanks in advance,
Dror

PS: I posted also a SE question: http://stackoverflow.com/q/25789183/671013

Reply via email to