This

#+name: picolisp_ex1
#+begin_src picolisp
(de hello-one-arg2 (x)
   (prinl "Hello World again" x))

(hello-one-arg2 "me")
#+end_src

gives this:

executing Picolisp code block (picolisp_ex1)...
executing Picolisp source code block
Wrote /tmp/babel-14299D_V/ob-input-1429931W
Code block evaluation complete.

but no sensible result:

#+RESULTS: picolisp_ex1
: Hello

then trying to run this

#+name: picolisp_ex1_test
#+begin_src picolisp
(hello-one-arg2 "me")
#+end_src

still produces error as mentioned above. Curiously, a "Lisp expression:"
prompt appears in the minibuffer. Not sure where that came from. . . .

On Sun, Dec 27, 2015 at 8:46 PM, O.Hamann <o.ham...@gmx.net> wrote:

> What about calling definition and function call in one src block?
> If that works, then it might be that some org mode header arguments for
> signaling a session are missing.
>
> Start session in first block and join that session in second block.
>
> But first put both def and call into one block to see if that will work.
>
> Greetings, Olaf
>
> On 27.12.2015 18:09, Lawrence Bottorff wrote:
>
> (de hello-one-arg2 (x)
>    (prinl "Hello World again" x))
>
>
>

Reply via email to