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

2012-05-28 Thread Eric Schulte
Christopher Allan Webber cweb...@dustycloud.org writes: I guess what I'm saying is that assignment would be really nice. However, I'm now seeing that this would take a lot of work. What I'd really like to do is something like the following: # Total BS financial projection, don't read into

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

2012-05-24 Thread Christopher Allan Webber
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?

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

2012-05-24 Thread Christopher Allan Webber
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 cweb...@dustycloud.org

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

2012-05-24 Thread Christopher Allan Webber
I guess what I'm saying is that assignment would be really nice. However, I'm now seeing that this would take a lot of work. What I'd really like to do is something like the following: # Total BS financial projection, don't read into this at all #+BEGIN_SRC calc derp_expenses := 1234 derp_income