emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Table column formula with remote reference


From: Wu Ming
Subject: Re: Table column formula with remote reference
Date: Wed, 13 Mar 2024 14:04:14 +0800

> On 12 Mar 2024, at 22:46, Ihor Radchenko <yantar92@posteo.net> wrote:
> 
> Wu Ming <wu.ming2@icloud.com> writes:
> 
>> Problem solved with
>> 
>> $1 = remote(A,@@#$1)
>> 
>> as described on the manual page 
>> https://orgmode.org/manual/References.html#Field-coordinates-in-formulas-1 
>> <https://orgmode.org/manual/References.html#Field-coordinates-in-formulas-1>
>> 
>> Where is the coordinate @@# documented?
> 
> I am confused. Isn't it documented in the linked section of the manual?
> 
> 
> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>

My fault. Missed the line "One of the very first actions during evaluation of 
Calc formulas and Lisp formulas is to substitute ‘@#’ and ‘$#’ in the formula 
with the row or column number of the field where the current result will go 
to.“  So '@@#' becomes '@<current row>'. 

Overlooked it also because I did read the other line "‘@0’ and ‘$0’ refer to 
the current row and column, respectively, i.e., to the row/column for the field 
being computed.” and did try '@0$1'. Why is this different from the above?




reply via email to

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