emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Add support for tables in Calc src block :var


From: Fraga, Eric
Subject: Re: [PATCH] Add support for tables in Calc src block :var
Date: Fri, 13 Dec 2024 11:48:02 +0000
User-agent: gnus (Emacs 31.0.50)

Response below/inline for email Visuwesh wrote:
> (original email sent 13 Dec 2024 at 16:36)
> 
> However, when we have something like
>
>     x := 3
>     a := 2 * x
>     x := 2
>     z := 0.5 * x
>
>     | 1 | |
>     #+TBLFM:$2=$x*$z
>
> what should $2 evaluate to?  $z is straight-forward: $z=1.  But what
> about $x?  Should it be 2 or 3?  If we go by Calc's convention, it
> should be 3.  Do you agree?

I agree: given the location of the table, I would assume that x would be
2 when referenced in the table.

-- 
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50


reply via email to

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