"Sebastien Vauban" <sva-n...@mygooglest.com> writes: > Hello Greg, > > Greg Minshall wrote: >> It appears that only *string* values are allowed for any :var that are >> defined (i.e., ':var bar="foo"', and *not* ':var bar=3'). > > Confirmed. The following does not work. > > #+begin_src org :results drawer replace :var you=2 > Hello $you > #+end_src > >> since i'm not 100% sure of the semantics, maybe this is desired. > > I dunno either. Clearly, an error should not happen. OTOH, there is no concept > of Org variable, so every variable here comes down to be implemented as a > simple string replacement, hence the need for strings only, maybe. >
I've applied a simple fix which will allow any type of object to be inserted into an Org-mode code block. Although there is a great deal of potential for more sophisticated behavior here, hopefully this simple solution will suffice. > > Best regards, > Seb -- Eric Schulte http://cs.unm.edu/~eschulte