Re: [O] org-table: Can't assign numbers to range
Karl Voit writes: > * Nicolas Goaziou wrote: >> Because "@I$1..@II$1" is not as obvious as you may think at first >> thought. As a consequence, it is forbidden. > > Hm. So is it true that I can't come up with a formula that fills up > the cells with those integers except cell-by-cell? Not if you can come up with a left-hand side that doesn't refer to @I or @II. Regards,
Re: [O] org-table: Can't assign numbers to range
* Nicolas Goaziou wrote: > Hello, > > Karl Voit writes: > >> Hi! >> >> | foo | >> |-| >> | | >> | | >> |-| >> | | >> | | >> |-| >> >> #+TBLFM: @I$1..@II$1=1 :: @II$1..@III$1=2 >> >> Results in "user-error: Can't assign to hline relative reference" >> >> Why? > > Because "@I$1..@II$1" is not as obvious as you may think at first > thought. As a consequence, it is forbidden. Hm. So is it true that I can't come up with a formula that fills up the cells with those integers except cell-by-cell? -- get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode: > get Memacs from https://github.com/novoid/Memacs < Personal Information Management > http://Karl-Voit.at/tags/pim/ Emacs-related > http://Karl-Voit.at/tags/emacs/
Re: [O] org-table: Can't assign numbers to range
Hello, Karl Voit writes: > Hi! > > | foo | > |-| > | | > | | > |-| > | | > | | > |-| > > #+TBLFM: @I$1..@II$1=1 :: @II$1..@III$1=2 > > Results in "user-error: Can't assign to hline relative reference" > > Why? Because "@I$1..@II$1" is not as obvious as you may think at first thought. As a consequence, it is forbidden. Regards, -- Nicolas Goaziou
[O] org-table: Can't assign numbers to range
Hi! | foo | |-| | | | | |-| | | | | |-| #+TBLFM: @I$1..@II$1=1 :: @II$1..@III$1=2 Results in "user-error: Can't assign to hline relative reference" Why? I assumed to get following table as a result: | foo | |-| | 1 | | 1 | |-| | 2 | | 2 | |-| #+TBLFM: @I$1..@II$1=1 :: @II$1..@III$1=2 -- get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode: > get Memacs from https://github.com/novoid/Memacs < Personal Information Management > http://Karl-Voit.at/tags/pim/ Emacs-related > http://Karl-Voit.at/tags/emacs/