[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple calc commands with orgbabel
From: |
Tom Gillespie |
Subject: |
Re: Multiple calc commands with orgbabel |
Date: |
Wed, 5 May 2021 10:03:56 -0700 |
Here is a quick and dirty implementation that more or less does what
you want (I think). The if t would probably need to be replaced by a
value that corresponded to an option that indicated that ob-calc
should resolve all expressions on the stack. This isn't really an
issue of return value, it is due to the fact that ob-calc makes
stateful modifications to calc. If you want a stateless (idempotent?)
ob-calc block you would need to do something like this as well, and
then you would need an option to discard the additional values instead
of retruning them as I do here. Best!
Tom
ob-calc-multi-return.patch
Description: Text Data
- Multiple calc commands with orgbabel, pietru, 2021/05/05
- Re: Multiple calc commands with orgbabel, Eric S Fraga, 2021/05/05
- Re: Multiple calc commands with orgbabel, Matt Price, 2021/05/05
- Re: Multiple calc commands with orgbabel, Eric S Fraga, 2021/05/05
- Re: Multiple calc commands with orgbabel,
Tom Gillespie <=
- Re: Multiple calc commands with orgbabel, Bastien, 2021/05/06
- Re: Multiple calc commands with orgbabel, Tom Gillespie, 2021/05/06
- Re: Multiple calc commands with orgbabel, Bastien, 2021/05/07
- Re: Multiple calc commands with orgbabel, Tom Gillespie, 2021/05/07
- Re: Multiple calc commands with orgbabel, Bastien, 2021/05/07
- Re: Multiple calc commands with orgbabel, pietru, 2021/05/05
- ob-fortran behaviour, Christopher Dimech, 2021/05/05
- Re: ob-fortran behaviour, Christopher Dimech, 2021/05/05
- ob-fortran fixes to column position 6 and subroutine keywords, pietru, 2021/05/05
Re: Multiple calc commands with orgbabel, Dr. Arne Babenhauserheide, 2021/05/05