* @# not working
@ 2010-12-23 21:35 Longzhu
2010-12-24 2:54 ` Michael Brand
0 siblings, 1 reply; 2+ messages in thread
From: Longzhu @ 2010-12-23 21:35 UTC (permalink / raw)
To: emacs-orgmode
Dear Sir/Madam,
I'm a new users of Emacs. I encountered a problem while I tried to
create a table in the org-mode. What I want to do is conditional formula
for a column. The condition is based on the @#. The problem is that @#
was not recognized probably. Here is a copy of my table and the error
message. Merry Christmas and Thanks for help.
| num1 | num2 | num3 |
|------+------+------|
| #ERROR | | |
| #ERROR | | |
#+TBLFM: $1=if(@# % 2, $#, string(""))
---- debug message----
Substitution history of formula
Orig: if(@# % 2, $#, string(""))
$xyz-> if(@# % 2, $#, string(""))
@r$c-> if(@# % 2, $#, string(""))
$1-> if(@# % 2, $#, string(""))
---^
Error: Expected a number
--
Longzhu Q. Shen
Carnegie Mellon University
4400 5th Ave
Pittsburgh PA 15213
Phone: (412)-268-6177
Email: lshen@andrew.cmu.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-24 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23 21:35 @# not working Longzhu
2010-12-24 2:54 ` Michael Brand
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).