emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Longzhu <lshen@andrew.cmu.edu>
To: emacs-orgmode@gnu.org
Subject: @# not working
Date: Thu, 23 Dec 2010 16:35:41 -0500	[thread overview]
Message-ID: <4D13C0AD.4090809@andrew.cmu.edu> (raw)

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

             reply	other threads:[~2010-12-23 21:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23 21:35 Longzhu [this message]
2010-12-24  2:54 ` @# not working Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D13C0AD.4090809@andrew.cmu.edu \
    --to=lshen@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).