Re: [O] Large numbers of named variables in Babel

2014-08-06 Thread John Kitchin
Brett Witty writes: This is close to what you want I think. #+TBLNAME: stats | STR | 13 | | DEX | 12 | | CON | 11 | #+BEGIN_SRC python :results value :var data=stats d = dict(data) return d['DEX'] + d['CON'] #+END_SRC #+RESULTS: : 23 > Hi, > > I'm trying to write my RPG adventures in org-mo

[O] Large numbers of named variables in Babel

2014-08-06 Thread Brett Witty
Hi, I'm trying to write my RPG adventures in org-mode and would like to bring character sheets into that fold. Is there a way in Babel to have a vast number of named variables that I can feed into source blocks? Are macros the way to achieve this? As an example, I'd like something like a big (hid