[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to document/comment a complex org table formula
From: |
Jude DaShiell |
Subject: |
Re: how to document/comment a complex org table formula |
Date: |
Mon, 5 Jul 2021 13:24:10 -0400 |
So long as each piece of documentation has a continuation pointer to the
next piece of documentation in the chain I think that would work.
On Mon, 5 Jul 2021, Uwe Brauer wrote:
> >>> "JD" == Jude DaShiell <jdashiel@panix.com> writes:
>
> > Why not use functional narrative form to document complex formulas?
> > formula name:
> > formula function:
> > formula uses:
> > formula returns:
>
>
> That would be also nice, however the problem I am facing to have a long
> and complicated expression with a lot of ifs, maybe best practise would
> be to split it and distribute it over various column and add comments as
> in
>
> #+begin_src elisp
> |----+----+----+---+---+----|
> | 1 | 4 | 5 | 3 | 3 | 6 |
> | 3 | 12 | 15 | 9 | 2 | 11 |
> | 12 | 2 | 14 | 7 | 3 | 10 |
> #+TBLFM: $3=vsum($1..$2);f1:: #one comment
> #+TBLFM: $6=vsum($4..$5);f1:: #second comment
> #+end_src
>