emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Why doesn't this calc org-babel code work?


From: Christopher Allan Webber
Subject: Re: [O] Why doesn't this calc org-babel code work?
Date: Thu, 24 May 2012 17:56:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

I see now.

#+BEGIN_SRC calc :var foo=5
foo + 5 =>
#+END_SRC

#+RESULTS:
: 5 + 5 => 10

However, this isn't as useful as I'd like.  I'd really like to be able
to see it say "foo + 5 =>" in the output.  That's clearer which line is
being referred to...

Christopher Allan Webber <address@hidden> writes:

> Hey all...
>
> I have:
>
> #+BEGIN_SRC calc
> foo := 5
> foo + 5 =>
> #+END_SRC
>
> #+RESULTS:
> : foo + 5 => foo + 5
>
> What I'd like, obviously, is for it to result in:
>
> #+RESULTS:
> : foo + 5 => 10
>
> I guess I really don't understand how calc support works in org-babel.
> Could someone enlighten me?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]