Function: org-babel-octave-var-to-octave
org-babel-octave-var-to-octave is a byte-compiled function defined in
ob-octave.el.gz.
Signature
(org-babel-octave-var-to-octave VAR)
Documentation
Convert an emacs-lisp value into an octave variable.
Converts an emacs-lisp variable into a string of octave code specifying a variable of the same value.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-octave.el.gz
(defun org-babel-octave-var-to-octave (var)
"Convert an emacs-lisp value into an octave variable.
Converts an emacs-lisp variable into a string of octave code
specifying a variable of the same value."
(if (listp var)
(concat "[" (mapconcat #'org-babel-octave-var-to-octave var
(if (listp (car var)) "; " ",")) "]")
(cond
((stringp var)
(format "'%s'" var))
(t
(format "%s" var)))))