[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Local variables in an org file
From: |
Grant Rettke |
Subject: |
Re: [O] Local variables in an org file |
Date: |
Thu, 20 Aug 2015 21:23:59 -0500 |
I've been thinking about this all week. Must be in the global memory space.
Grant Rettke
--
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
“All creativity is an extended form of a joke.” --Kay
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
On Thu, Aug 20, 2015 at 1:39 AM, Jarmo Hurri <address@hidden> wrote:
>
> Greetings.
>
> Is there a way to define a (preferably local) variable in an org file so
> that the value of that variable could be referenced in both plain text
> and code blocks?
>
> I often bump into situations where I have a value, say 768, and I use
> that value both in code blocks and in the accompanying text. Now basic
> programming approach tells me that if and when I need to change that
> value, I should be able to do that by changing the value in only one
> location. That implies defining a variable for the value.
>
> Properties sound like they might be the solution. But I don't know how
> to refer to properties in text and code.
>
> Jarmo
>
>