File: ob-table.el.html

Should allow calling functions from Org tables using the function org-sbe as so...

#+begin_src emacs-lisp :results silent
  (defun fibbd (n) (if (< n 2) 1 (+ (fibbd (- n 1)) (fibbd (- n 2)))))
#+end_src

#+name: fibbd
#+begin_src emacs-lisp :var n=2 :results silent
(fibbd n)
#+end_src

| original | fibbd |
|----------+--------|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
#+TBLFM: $2='(org-sbe "fibbd" (n $1))

NOTE: The quotation marks around the function name, 'fibbd' here, are optional.

Defined variables (0)

Defined functions (2)

org-babel-table-truncate-at-newline(STRING)
org-sbe(SOURCE-BLOCK &rest VARIABLES)

Defined faces (0)