emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Insert variable into tangled source code


From: Roland
Subject: [O] Insert variable into tangled source code
Date: Tue, 6 Aug 2013 13:43:05 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello!

I use orgmode to write code in a IA language developped by the company I 
work for. Everything was just nice when I attempted to insert in the source 
code a value set up in my org buffer.

Here is the real situation :


#+TBLNAME: tab_x
| x | 1 |

#+begin_src own_lang :tangle ./tangle_file :var x=x[0,1]
TYPE OBJ;

    CONSTANTE 
        var_x DOMAIN INTEGER DEFAULT $x
#+end_src

and I would except in tangle_file :
TYPE OBJ;

    CONSTANTE 
        var_x DOMAIN INTEGER DEFAULT 1

But unfortunately, I get 
TYPE OBJ;

    CONSTANTE 
        var_x DOMAIN INTEGER DEFAULT $x

Any ideas???

Thanks in advance.

Roland.








reply via email to

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